Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Distance travelled across multiple splines
#1
Hi there,

I have a car that travels over multiple connected splines, I'm trying to work out how to keep track of the total distance the car has travelled.

Guessing that I need to keep a tally of distance travelled each frame but that's where I'm stuck.

Thank you (again) for any help.

John
Reply
#2
Hi
I am assuming you use a SplineController.
SplineController.Distance gives you the distance of your object from the start of the spline. You can use that.
I hope this helped.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Connections Between Opposing Splines lockiidraws 1 322 12-04-2025, 02:14 PM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 2,537 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 1,613 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 2,757 02-26-2025, 09:40 AM
Last Post: _Aka_

Forum Jump: