Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Newby | |
Old Version | Published before Godot 3 was released. |
how do make a kinematic 2d body jump over something like a log
if you want a kinematic body to jump you can grant it velocity upwards and let “gravity” do the work
rustyStriker | 2017-10-23 12:46
but that only works for a rigidbody 2d i want to know how to do it for a kinematicbody 2d
Newby | 2017-10-23 22:20
In your code, if you are using an Acceleration system for the movement(at least on the Y axis) you can simply let the velocity in your code( aka what the acceleration changes ) and in later frames the acceleration downwards will stop the body and make him fall…
rustyStriker | 2017-10-24 07:57