- Edited
I'm working on a 2D platformer and implemented my character controller using state machines. Everything works fine, other than the jump and fall states. The character is jumping and falling, but mid-air control is not so good. The character either uses full momentum or is fully dependent on player input and completely ignores momentum, resulting in the character's vertical jump not being proportionate to the horizontal distance he could cover.