Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving object down or up the spline using gravity
#1
There is no gravity when moving objects along the spline. Can be achieved using input like in Rigidbody scene but I need the object to move by itself. 
How to detect angle of object moving on spline (that uses motor controller since I need to have option to move object using some interaction buttons) so I can add velocity according to slope of the spline?
Scenario: player moves train along spline (motor controller) but train has stopped on slope and player does not apply input. I need that train to move down the slope by itself since there are no breaks on train.
Reply


Messages In This Thread
Moving object down or up the spline using gravity - by velikizlivuk - 07-24-2023, 09:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 14 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: