Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] Going backwards (SplineController)
#1
Hi, I would like to know if there's a way to make the SplineController follow the spline backwards dynamically.

I can see in the Move tab that there's a field named "Speed", but this is a absolute value, for example, if I set it to -1, it's considered 1 instead.
I want be able to change it's direction at runtime, doing so, I would like to tweak this values in a range like -100 and 100.

Thanks,
Luis
Reply
#2
Speed also switches orientation, so a negative starting value will flip direction. If you want to move backward dynamically, set it to 0, then to a negative value, like:

Code:
MyController.Speed=0;
MyController.Speed=-10;
If you enable IgnoreDirection, orientation won't flip and you're moving backwards.

I've added that to the documentation now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie Question: Uniformly increase spacing between volume spots? SAMYTHEBIGJUICY 1 5 09-01-2023, 03:38 PM
Last Post: _Aka_
  I have a question about curvySpline haifeng.huang 12 32 07-14-2023, 09:34 AM
Last Post: _Aka_
  Question about generator Mos Def 7 1,807 04-10-2023, 10:20 PM
Last Post: _Aka_
Wink In SplineController OnPositionReachedList Event is missing shimizu 2 13 02-07-2022, 12:47 PM
Last Post: shimizu

Forum Jump: