Player goes from air to moving state. Fixes player sliding forever after landing.

master
Joey Pollack 3 years ago
parent d37e73b1f0
commit 1660300a0f

@ -20,7 +20,7 @@ func on_physics_process(delta):
if not Self.is_on_floor():
Self.velocity.y = -250 * delta
else:
state_machine.transition("PlayerIdle", {})
state_machine.transition("PlayerMoving", {})
Self.do_movement(delta)

Loading…
Cancel
Save