# Static Lighting & Splines Meshes on Construction Script

**URL:** <https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802>\
**Category:** Rendering\
**Tags:** static-lighting, unreal-engine, construction-script, question, Blueprint\
**Created:** [January 21, 2016, 1:05pm UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802 "2016-01-21T13:05:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_089a4978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Post date:** [January 21, 2016, 1:05pm UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802/1 "2016-01-21T13:05:29Z")

</div>

Hi,  
I created a spline then I attached some objects to this in the construction script. Does static lighting apply to the meshes of this spline? If not, is there a workaround to do so? Can I get a fbx output from the meshes that are created with the construction script of the spline?

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [January 21, 2016, 6:59pm UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802/2 "2016-01-21T18:59:57Z")

</div>

Hi SalihBalkan,

Spline Meshes shouldn’t have any problem with baked shadowing, you will simply need to make sure that the spline mesh is set to static and not being spawned at run time. By default these are set to movable in the BP.

Once you’ve got a final shape for your spline mesh if you want to convert it to an FBX you can select the BP in the Level with the spline mesh and then go to File \> Export Selected \> save as FBX file type and give it a name. You can then re-import the mesh FBX and replace the BP. This would be a more optimized way to handle spline meshes because it will not re-use the mesh instance and combine it to a single mesh.

If you’re having any issues, I tested to make sure this was working with the BP\_Spline\_Mesh asset from Content Examples project that is available on the Epic Games Launcher in the Learn tab.

I hope this helps.

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [November 4, 2017, 8:45pm UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802/3 "2017-11-04T20:45:57Z")

</div>

where do you set the spline mesh to static? through construction script? if so what do I search for?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [November 4, 2017, 8:50pm UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802/4 "2017-11-04T20:50:56Z")

</div>

NVM - found that it was on the spline itself

---

<div class="post-metadata">

**Author:** ![2visual](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2visual](https://forums.unrealengine.com/u/2visual)\
**Post date:** [November 27, 2017, 6:41am UTC](https://forums.unrealengine.com/t/static-lighting-splines-meshes-on-construction-script/344802/5 "2017-11-27T06:41:06Z")

</div>

I was unable to find this, what do you mean by spline itself?
