10-15-2022, 11:17 AM
Hi
CurvySpline.GetNearestPoint(...) returns the nearest point on a spline.
CurvySpline.GetNearestPointTF(...) returns the nearest point on a spline and its TF value.
To position your spline controller accordingly:
yourSplineController.RelativePosition = nearestTF
More is explained in the documentation of these methods/components. Also, the example scene 05_NearestPoint can be of help if you struggle to use the GetNearestPoint method.
Did this help?
Have a nice day
CurvySpline.GetNearestPoint(...) returns the nearest point on a spline.
CurvySpline.GetNearestPointTF(...) returns the nearest point on a spline and its TF value.
To position your spline controller accordingly:
yourSplineController.RelativePosition = nearestTF
More is explained in the documentation of these methods/components. Also, the example scene 05_NearestPoint can be of help if you struggle to use the GetNearestPoint method.
Did this help?
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.

