Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get world vector3 from absolute position on spline
#1
Hi, I thought this was TFToDistance but I'm after something different.

I know the absolute position of an object on a spline, I want to get a world space position of a fictional point along the spline. For example my object is at absolute position 55, I want the vector3 of +10 length along the spline.

Is this possible without placing another spline controller on the spline?
www.hawkenking.com - interactive design & game development
Reply
#2
Hi
Yes it is:
yourSpline.InterpolateByDistance(55+10, Space.World)
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(06-08-2021, 12:02 PM)_Aka_ Wrote: Hi
Yes it is:
yourSpline.InterpolateByDistance(55+10, Space.World)

thanks!
www.hawkenking.com - interactive design & game development
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Filling a closed spline dynamically rickgplus 1 53 04-16-2025, 08:56 AM
Last Post: _Aka_
  Absolute offset for shape extrudes rickgplus 1 128 03-21-2025, 12:37 PM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 191 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 700 01-20-2025, 12:25 PM
Last Post: _Aka_

Forum Jump: