Static Lighting & Splines Meshes on Construction Script

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?

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

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

NVM - found that it was on the spline itself

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