Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bugs & updates needed: Curvy Move Along Spline Distance (Playmaker) not working
#7
(01-20-2014, 09:26 AM)'FritsLyn' Wrote: Then, just so you are aware: Move by world units is not allways 100% steady, specially closer to spline segments very far apart.
That's by design. CurvySpline.MoveBy (or setting "Use World Units" in custom actions) works by moving a small step, comparing distances and extrapolating that to move the desired length. It's fast and works without the need to actually precalculate length values, but the downside is that it can get inaccurate.

To overcome this, MoveByLengthFast() can be used, which actually works with cached length values (of course you'll need to set granularity to 20 or even higher, depending on your curve). There's not an option for this yet in the custom actions, but you can just change the custom action and replace MoveBy() with MoveByLengthFast().
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 319 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,684 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,160 07-13-2025, 07:11 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 1,869 06-07-2025, 09:44 AM
Last Post: _Aka_

Forum Jump: