Hello everyone , iam beginner at unity and i encounter problem when my Character is jumping or falling to some sprite texture which have 2D box collider and still pressing movment key he get stucked until i release button they he fell down.
I tried every type and size of collider.
For seeing problem i made gif
I’m guessing you do not have any detection to tell if you’re against a wall, so while you’re against the wall, you have this sideways force pushing on you, keeping you sucked to the wall due to friction. I believe adding a material with 0 friction can solve that, but you’ll need to build your surfaces out of edge-colliders if you want your ground to have friction still. Or you can use a wall-check similar to your ground check, that prevent velocity in that direction while it’s true.