Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating splines at run time
#4
Adding and removing each frame a CP for preview is not the best way. A better way is to add the preview CP once, and then update it's position each frame.

If you want still want to completely avoid adding a CP, you can the interpolation methods directly (like CurvySpline.Bezier(...)), but then you will have to understand the maths behind that to use it properly. If you still want to do that, check how those methods are used in CurvySpline's public Vector3 Interpolate(float localF, Space space = Space.Self)
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
Creating splines at run time - by jamesunity - 07-16-2020, 08:35 AM
RE: Creating splines at run time - by _Aka_ - 07-16-2020, 10:47 AM
RE: Creating splines at run time - by jamesunity - 07-16-2020, 06:12 PM
RE: Creating splines at run time - by _Aka_ - 07-16-2020, 06:54 PM
RE: Creating splines at run time - by jamesunity - 07-16-2020, 07:40 PM
RE: Creating splines at run time - by _Aka_ - 07-16-2020, 08:02 PM
RE: Creating splines at run time - by jamesunity - 07-17-2020, 10:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 18 04-25-2024, 11:11 AM
Last Post: _Aka_
  Help creating a wedge Thinkurvy 2 5 04-24-2024, 12:25 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 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_

Forum Jump: