My game has a spline representing a procedurally generated track. However, I am having trouble calculating the distance along the spline. I tried using the time, but for some reason increasing the time of points scales the spline model. If I don’t change the time of points, however, my script has no way to find the “distance” along the spline at any given point.
Am I missing something about how splines are supposed to work?
What I need is a way to calculate points along a spline (between the points of the spline) if needed at given distance along the spline.
Also my splines model is also not rendering correctly. I am using just a cylinder mesh.
The mesh is bumpy for some reason yet the collider is nice and smooth.