04-15-2024, 09:38 PM
Given a Vector3 in world space, I want get the nearest distance along a spline.
Currently I can use GetNearestPointTF to go from Vector3 to TF and I can convert the TF to a distance. The problem is that the TF value is not consistently spaced along the curve. It appears that distance is consistent so I would like to use that value instead.
I need something like spline.GetNearestPointDistance()
Surely others have had this issue. Is this possible?
Currently I can use GetNearestPointTF to go from Vector3 to TF and I can convert the TF to a distance. The problem is that the TF value is not consistently spaced along the curve. It appears that distance is consistent so I would like to use that value instead.
I need something like spline.GetNearestPointDistance()
Surely others have had this issue. Is this possible?