Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple splines movement
#2
Hi,

Have you thought about using the Spline Controller instead of recreating its behavior via code? You can control the spline controller via APi. You will only have to set the offset and speed parameters, and the controller will take care of the rest.

If coding everything yourself is indeed what you want, then, and assuming CurrentSpeed is in distance/time:

Code:
    Vector3 splinePoint = _splineController.Spline.InterpolateByDistance(_splinePosition, Space.World);

This change should do it. If you still have issues, please let me know.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
Simple splines movement - by shills - 02-19-2025, 07:54 PM
RE: Simple splines movement - by _Aka_ - 02-20-2025, 06:07 PM
RE: Simple splines movement - by shills - 02-24-2025, 04:26 PM
RE: Simple splines movement - by _Aka_ - 02-26-2025, 09:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New User Looking for Advice on Choosing Curvy Splines ravigupta 1 133 08-21-2026, 09:45 PM
Last Post: _Aka_
  Connections Between Opposing Splines lockiidraws 1 903 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 3,389 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 2,115 03-18-2025, 10:11 PM
Last Post: _Aka_

Forum Jump: