Hi
Use CurvySpline.GetNearestTF to get the TF of the nearest point on the spline. (see the documentation to learn more about its parameters).
Then use CurvySpline.TFToDistance to convert that TF to a distance. Let's call it D.
The traveled distance on the spline is equal to D.
The distance left to travel on the spline is equal to : CurvySpline.Length - D.
Here is a link to the API reference of the CurvySpline class: https://api.curvyeditor.com/FluffyUnderw...pline.html
I hope this helped.
Have a nice day.
Use CurvySpline.GetNearestTF to get the TF of the nearest point on the spline. (see the documentation to learn more about its parameters).
Then use CurvySpline.TFToDistance to convert that TF to a distance. Let's call it D.
The traveled distance on the spline is equal to D.
The distance left to travel on the spline is equal to : CurvySpline.Length - D.
Here is a link to the API reference of the CurvySpline class: https://api.curvyeditor.com/FluffyUnderw...pline.html
I hope this helped.
Have a nice day.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

