Hi all, trying to hack together a prototype that requires a spline component in a level that’s all dynamically generated ie not visible unless you’re running the game.
I want to edit the spline while running but keep the changes. I thought I could just edit the spline and press K / right click “keep simulation changes” but this doesn’t seem to save the spline data.
Is there a way to edit a spline component while playing in editor and keeping the changes?
You could iterate over the spline saving out each point and tangent and saving that to a struct and either serialize it with json or just save it through the savegame system. Then you would just load this data and apply it to the spline at runtime.
Thanks! Yeah know I can implement a way but didn’t know if I was missing something about how “Keep Simulation Changes” worked. Guess it only works on simple input fields like transforms and material settings etc.