Spline editing at runtime

Hi,

I’m working on a simple runtime level editor as a game feature. I was wondering if there is a way to expose UE4’s spline editing functionality (adding nodes, changing tangents,…etc.) to the player at runtime. I’m posting this in blueprints section, but if possible solutions are only through C++, I’d be thankful if you can post it here as well. Thank you so much.

In case you get no useful answers, have a look at the marketplace. One of those skill tree / ability plugins may have it exposed - perhaps you’ll find something on the cheap that can be leveraged / reverse engineered / taken apart.

I’m assuming here you’re talking about pure 2D, as 3D spline components can be made easily.


There’s also this in the material:

324981-screenshot-3.jpg

I’ve yet to play with it so not sure how far this can be taken. You could probably cobble something simplistic together with widgets.

there are two blueprint nodes that you’ll probably find helpful. add spline point, and add spline point at index (used to insert points).

325000-add-spline-point.png

325021-addsplinepointatindex.png

I’m just finishing work on a runtime spline editor in Blueprints. So, the way exists.