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)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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
  animating points on a spline Antonio 11 18 09-17-2023, 09:55 AM
Last Post: _Aka_
  Getting object on spline Position when Spline has coordinates larger than 2000 velikizlivuk 5 8 09-05-2023, 01:01 PM
Last Post: velikizlivuk
  Spline.Length not updated unless I add a point to spline (or modify it) first. _RicO 3 6 08-26-2023, 08:41 AM
Last Post: _Aka_
  Raise spline events during edit mode arcadeperfect 3 6 08-24-2023, 08:38 AM
Last Post: _Aka_

Forum Jump: