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 Splines, this helps immensely. Thank you.
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
  New User Looking for Advice on Choosing Curvy Splines ravigupta 1 190 08-21-2026, 09:45 PM
Last Post: _Aka_
  Connections Between Opposing Splines lockiidraws 1 925 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 3,419 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 2,133 03-18-2025, 10:11 PM
Last Post: _Aka_

Forum Jump: