Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I change splines at run-time?
#1
Let's say I have made 3 individual splines parallel to each other. An object starts on the spline in the middle and the object starts moving on the spline. If I press Left, the object should gradually move to the spline on the left and continue to move on this left spline? Is that possible?
Reply
#2
Hi
Yes, the SwitchTo method of the SplineController class does this. It is used in the example scene 50_EndlessRunner.unity
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
Okay, will look into it! Have to say this, your tool is awesome! It really saved me a lot of work. God bless you! Smile
Reply
#4
Thanks a lot, that warms my heart Smile
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
  Multiple Splines and Generators Performantly for Road System drock 1 3 07-17-2023, 10:31 AM
Last Post: _Aka_
Information Curvy Splines 8.0.0 is available, and it is a big upgrade _Aka_ 3 90 06-29-2023, 08:23 AM
Last Post: Marki
Information Curvy Splines is on sale _Aka_ 0 1 05-15-2023, 07:48 PM
Last Post: _Aka_
Exclamation Stack overflow when editing prefab containing splines rhys_vdw 5 23 04-10-2023, 10:17 PM
Last Post: _Aka_

Forum Jump: