Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding relative position across connected splines
#2
The distance between two cars can vary depending on the track, whether it is a line or a circle for example. But still, those changes should not be very big (expect if your track has very tight turns). So why not just compute the distance between the cars, divide it by the length of a car, and round to the closest number. That should indicate the number of cars in between.
Did this help?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Finding relative position across connected splines - by _Aka_ - 02-05-2024, 10:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 1,661 06-07-2025, 09:44 AM
Last Post: _Aka_
  Spawn at start/ end of splines rickgplus 4 2,096 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 1,370 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 2,291 02-26-2025, 09:40 AM
Last Post: _Aka_

Forum Jump: