Glitch with Edges


I have a problem with a 2d platformer game! When I try to jump against a wall the Player sticks to the wall. I tried giving it a material with 0 friction, and that solved it, but created another problem. When I stand on an edge or jump against it the player shakes slowly around, then I tried using an composite collider, but that just made it less amplified. Does someone know how to completly fix it?

As dstears suggests in this thread, you can set the friction of the character's friction to zero in the air.

I think we need some more information and may need to see your script which moves the character. (And if you post the script, please see this post about properly formatting code: )

What do you mean by "stand on an edge"? Can you provide a video or screenshot?