Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Closest Point on Spline
#2
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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
Get Closest Point on Spline - by neppyneptune1 - 10-14-2022, 07:21 PM
RE: Get Closest Point on Spline - by _Aka_ - 10-15-2022, 11:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 8 1,413 04-12-2026, 03:18 PM
Last Post: _Aka_
  Control Point Interpolation Overrides. rickgplus 1 553 12-11-2025, 08:52 AM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 663 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,470 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: