Hi there,
I have a strange bug : I'm making a 2d platformer game and I've created simple controls for my player : go left, go right and jump.
To move, I use a "get axis", a "set velocity 2d" and it works but sometimes when I keep the right button down, the player strangely stops moving. I have to go left and then right again to make him move again.
To jump, I use a simple "add 2d force" in another fsm. The player jumps when the space bar is down. If I only press space, the player jumps normally but when I use the right or left button and the player hits a wall or a block on his side, he freezes and I have to let go in the opposite direction to make him move again...
Anybody knows how to fix this ?
