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
  Pre-Purchase question discofever 1 104 11-03-2020, 12:15 PM
Last Post: _Aka_
  How to face forwards when going backwards jh092 9 837 08-27-2020, 09:15 PM
Last Post: _Aka_
  SplineController slows down approaching connections jh092 5 661 08-07-2020, 03:56 PM
Last Post: _Aka_
  Question regarding Spline Generated Path linkinballzpokemon 9 1,511 07-01-2020, 06:10 PM
Last Post: _Aka_

Forum Jump: