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
  How can I find the point on the spline after applying with offset angle+radius? Chanon 1 2 2 hours ago
Last Post: _Aka_
  Scale Deform Mesh Along Spline? / aligning colliders MamasToast 6 33 09-25-2022, 08:47 PM
Last Post: _Aka_
  How can I remove one segment of the road that I made by spline? Chanon 3 7 09-14-2022, 04:44 PM
Last Post: _Aka_
Photo Position in Input Spots not working on all directions. Mike Danielsson 2 9 09-03-2022, 02:22 PM
Last Post: Mike Danielsson

Forum Jump: