Download

Running into walls

So when my character runs into a wall while standing on a platform, the game still thinks he’s moving. On the left it’s printing out his “velocity” on the x axis, it says -853 even though in game he’s not moving anywhere, he’s stuck against a wall.
wJnAuVM.png
Here’s the character running towards the wall on the ground, his velocity is zero and the idle animation is playing, because he’s stopped moving properly. I’m holding left on the keyboard, but it’s functioning properly and not running infinitely in place
m5QDcbS.png
What’s the difference here? Does anyone know why this could happen? they’re even both the same type of platform with the same collision and everything, I have no clue why this would happen