godot fps locked to jumping code example
Example: godot fps locked to jumping
GDScript
Use :
if not is_on_floor():
skittles.y -= gravity * delta
move_and_slide(skittles, Vector3.UP)
Instaid of:
if not is_on_floor():
move_and_slide(skittles, Vector3.UP)
skittles.y -= gravity