Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] Going backwards (SplineController)
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.

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:

If you enable IgnoreDirection, orientation won't flip and you're moving backwards.

I've added that to the documentation now.

Possibly Related Threads...
Thread Author Replies Views Last Post
  how do I position a splineController on a spline in runtime to an exact position? hawken 8 1,347 01-19-2018, 12:01 PM
Last Post: _Aka_
  Feature request: SplineController.Position as inspector property syscrusher 4 642 01-19-2018, 06:00 AM
Last Post: syscrusher
  SplineController questions PETzz 1 532 08-16-2017, 06:59 PM
Last Post: Jake
  Hello I have a question. wjdtjr0114 1 484 02-01-2017, 07:32 PM
Last Post: Jake

Forum Jump: