Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Closest Spline & control points loop in both directions
#5
(01-20-2021, 07:37 PM)_Aka_ Wrote: That method do exist. Here is how to use it
CurvySpline.GetNearestPointTf(inputPosition, out outputPosition, Space.World)


Yeah, I know that, but I meant something different. Given only a Vector3 world position - is it possible to find the closest CurvySpline from it? Or do I have to manually get all the splines and find the closest point on each and then select the one with the smallest distance (from the input world position to the closest point)?
Reply


Messages In This Thread
RE: Beginner's questions - Closest spline & closest point on spline - by nehvaleem - 01-20-2021, 09:23 PM

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

Forum Jump: