Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Distance from a World Point
#1
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?
Reply


Messages In This Thread
Getting Distance from a World Point - by zorksox - 04-15-2024, 09:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Volume Spots inter group distance Sacryn 1 3 02-27-2024, 04:08 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 7 02-23-2024, 09:44 AM
Last Post: _Aka_
  How to get travelled distance and distance to travel ommlmx 3 31 12-04-2023, 03:28 PM
Last Post: _Aka_

Forum Jump: