Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animate movement with curve by distance, not time
#2
What about setting animation time by length of segment? You can access the segment either in the OnControlPointReached event or in your custom controller and it has a Length property.

I'd go the custom controller route (it's more flexible) and check the distance to the last and the next CP frequently. Then you can apply speed changes at will.
Reply


Messages In This Thread
RE: Animate movement with curve by distance, not time - by Jake - 01-30-2017, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Simple splines movement shills 3 3,222 02-26-2025, 09:40 AM
Last Post: _Aka_
  Morph game object along curve. mikechr2000 5 3,029 02-04-2025, 09:30 PM
Last Post: _Aka_
  Scaling a closed curve rickgplus 1 1,479 01-16-2025, 06:52 PM
Last Post: _Aka_
  Extrapolate past curve endpoint Madgvox 3 2,371 09-10-2024, 01:24 PM
Last Post: _Aka_

Forum Jump: