Help with hitboxes

here is game link:
https://flowlab.io/game/view/2158352
the problem is, just use wasd and move without jumping and every now and then it will stop until you jump. looks like it’s getting stuck or something.
potential problems:
‘artificial’ gravity with motor
collision shape
sprite texture

use Capsule


best shape and Colision Shape =Capsule

1 Like

problems comes from logic gates,try to connect them like this

1 Like

I think my original is still better because I don’t want walk animation to activate if walking is disabled
(one of the switches is off

but once in a while, if you press the buttons A and D quickly, the movement remains disabled

1 Like

I like the walking animation, very fluid

2 Likes

ohh thanks a lot
I’ll find a way to fix that