Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conform to terrain in play mode ?
#1
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
Reply
#2
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.
Reply
#3
(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
Reply
#4
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Support for "Fast Enter Play Mode" via "No Domain Reload" XtroTheArctic 5 8 11-27-2023, 12:03 PM
Last Post: _Aka_
  Disable rebuild of meshes in dynamic mode Zilk1 1 6 10-04-2023, 09:50 AM
Last Post: _Aka_
  Raise spline events during edit mode arcadeperfect 3 6 08-24-2023, 08:38 AM
Last Post: _Aka_
  Error when trying to connect nodes in prefab edit mode Lupos 4 9 06-02-2023, 10:27 AM
Last Post: _Aka_

Forum Jump: