Posts: 2
Threads: 1
Joined: Aug 2022
Hello
I spawn splines during play mode from a database.
I am wondering if there is a way to conform these splines to a terrain (as shown in this video : https://www.youtube.com/watch?v=PtP4A2sQphE) during runtime ?
As I am a Playmaker user, it would be great if this could be done with a Playmaker action !
Best regards
Philippe
Posts: 2,092
Threads: 88
Joined: Jun 2017
Hi
You can do that at runtime via the API. First, setup a Curvy Generator similar to the one in the linked tutorial, then at runtime, assign it's Input Spline Path module's spline to the runtime created spline. Here is how to do it
https://forum.curvyeditor.com/thread-1232.html
When it comes to Playmaker, there is no specific action for setting that module's spline. You will have to use the regular property get/set actions.
I hope this helped.
Have a nice day
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Posts: 2
Threads: 1
Joined: Aug 2022
(08-23-2022, 12:05 AM)_Aka_ Wrote: Hi
You can do that at runtime via the API. First, setup a Curvy Generator similar to the one in the linked tutorial, then at runtime, assign it's Input Spline Path module's spline to the runtime created spline. Here is how to do it
https://forum.curvyeditor.com/thread-1232.html
When it comes to Playmaker, there is no specific action for setting that module's spline. You will have to use the regular property get/set actions.
I hope this helped.
Have a nice day
Thanks a lot !
Have a nice day too.
Philippe
Posts: 2,092
Threads: 88
Joined: Jun 2017
You are welcome, my pleasure.
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.