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?
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
RE: Finding relative position across connected splines - by _Aka_ - 02-05-2024, 10:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 9 26 05-17-2024, 09:35 AM
Last Post: _Aka_
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_
  Help with procedural roads and splines ramiroflores 1 6 05-07-2024, 08:57 AM
Last Post: _Aka_

Forum Jump: