08-02-2020, 08:42 PM
SplineController.Spline to get the spline
CurvySpline.GetNearestPointTF to get the TF
CurvySpline.TFToDistance to convert it to distance
SplineController.AbsolutePosition to set the distance
You can see some of those methods used in example scene 04_PaintSpline, in the script it uses named MoveToNearestPoint
CurvySpline.GetNearestPointTF to get the TF
CurvySpline.TFToDistance to convert it to distance
SplineController.AbsolutePosition to set the distance
You can see some of those methods used in example scene 04_PaintSpline, in the script it uses named MoveToNearestPoint
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.