Open aaronfranke opened 5 years ago
The problem with this is that the default 2D gravity (98) is way too low.
Then it should be changed in the project settings, or maybe the default should be changed.
The default 2D gravity will be increased by https://github.com/godotengine/godot/pull/36263 once it's merged.
https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html#move-and-slide
Instead of
var gravity = 2500
, it should just get the gravity fromProjectSettings.get_setting("physics/2d/default_gravity")
. This way, the gravity is the same for the KinematicBody and all Rigidbodies as well.