Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find TF value for multiple objects along a spline
After using SplinePathCloneBuilder to place objects along a spline, I would like to move the objects along the spline by a set amount every time the user provides input.  Is there a way to get the TF value of each object that is aligned to the spline?  

not directly. If you need to fetch the TF's only once (e.g. at the start of your scene), you can use CurvySpline.GetNearestPointTF() for each object's position. Calling this very often might be too slow depending on the amount of objects and spline length. In this case I would calculate the TF manually (i.e. use the same calculations like the CloneBuilder does).

However, that's a good feature idea for the future CloneBuilder.


Possibly Related Threads…
Thread Author Replies Views Last Post
Brick Delete CurvySplineSegment from the start of a Spline causes UV's to change studentloan 5 6 06-14-2022, 03:14 PM
Last Post: _Aka_
  Obstacle Moving Along the spline Chanon 1 5 06-13-2022, 04:13 PM
Last Post: _Aka_
Information Common reasons why your spline gizmo is invisble _Aka_ 0 1 05-20-2022, 03:56 PM
Last Post: _Aka_
  Connect two spline at runtime Doomchecker 2 7 05-18-2022, 04:12 PM
Last Post: Doomchecker

Forum Jump: