Spline system wall creation in runtime using Blueprints

Want to create walls during runtime using Splines. The Splines should work and be visible in runtime and create procedural walls.

https://www.youtube.com/results?sp=mAEB&search_query=ue4+spline+walls

So many tutorials on YT… Also, search the forums - it’s probably the second most common topic.

Once you nail the general idea of how it works, it’s applicable to all spline related matters.

But they don’t work in runtime, they only work in editor mode

They do work run-time.

Basic workflow. You will need to watch a tut to understand tangents and how to loop and deform the spline mesh components.

So, in these tutorials the splines are created in editor mode. But, what I want is the splines to be visible, created and edited in play mode.

As above.

Thank you so much.

Add run time and / or procedural as keywords:

https://www.youtube.com/results?search_query=ue4+spline+walls+run+time

But it’s all the same, whatever logic you’d apply in the Construction Script (editor), you can (and should) use run-time.


And a quick, somewhat crude, example:

You’d need to add spline mesh components to this.

1 Like

So I want the ends of the wall to connect properly without any gaps as such, also the

thickness of the wall to be the same throughout.

But here there are some gaps between the ends of the walls, also there is thickness difference between the walls. Where the walls are thin at some places and of a different thickness at few places.

Here are the scripts


Can someone tell me what’s wrong with my code?