Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find TF value for multiple objects along a spline
#1
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?  
 
Reply
#2
Hi,

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.

Jake
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Warning about multiple Array Pools Settings nkornek 4 13 03-23-2023, 12:34 PM
Last Post: TurboManny
  How to merge intersecting meshes at spline connections? Reign_of_Light 2 4 03-20-2023, 08:36 AM
Last Post: Reign_of_Light
Video Spline Gizmos & Segments Invisible while Drawing ricke 7 15 03-13-2023, 05:31 PM
Last Post: _Aka_
  How to fill a closed spline with mesh FanManPro 6 6 02-25-2023, 09:44 AM
Last Post: _Aka_

Forum Jump: