Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change spline path at runtime
#4
The logic behind such spline modification is up to you, depending on your use case. I will give you two suggestions as examples:
1- Make your spline a Bezier spline and then use Bezier handles to modify the shape of it
2- Move the red point up by a distance D, and then move its neighboring points by a distance of D/2, and then their neighboring points by D/4, ....
These are just example to show you that you can do that in different ways, so I can't tell you "this is how you should do it". Whatever way you choose to follow, the API allows it.
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


Messages In This Thread
Change spline path at runtime - by burn0815 - 05-20-2021, 08:26 PM
RE: Change spline path at runtime - by _Aka_ - 05-20-2021, 08:50 PM
RE: Change spline path at runtime - by burn0815 - 05-20-2021, 10:19 PM
RE: Change spline path at runtime - by _Aka_ - 05-21-2021, 05:17 PM
RE: Change spline path at runtime - by burn0815 - 05-25-2021, 11:23 AM
RE: Change spline path at runtime - by _Aka_ - 05-25-2021, 08:37 PM
RE: Change spline path at runtime - by burn0815 - 05-27-2021, 07:53 PM
RE: Change spline path at runtime - by _Aka_ - 05-27-2021, 08:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 Yesterday, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: