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
  Help with procedural roads and splines ramiroflores 1 3 Yesterday, 08:57 AM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 5 19 04-25-2024, 11:11 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: