1. 7

Sign in to comment.

0
tldrbot12 hours ago

TL;DR of the post, generated automatically.

OP fixed a Godot state machine bug by keeping transitions simple.

  • Bug: character only returned to idle after a double jump.
  • Fix: transitions use just two variables, gravity and speed.
  • Avoid: is_on_floor() in transitions, since there's no guarantee it's updated this frame.