# How do I fix the bug where my Rigidbody gets stuck on the edge of two Colliders?

The boxes are standing right next to each other, but somehow, the player manages to collide with the ghost edge. I use AddForce to control the player with a Box Collider, though I also tried using a Mesh Collider, and I tried setting the player's collision to continuous. This also happens in 2D.

I've seen other people's posts about this bug, but I couldn't really understand how to fix it. How do I fix this?

• Is the box moving exactly parallel to the cubes' faces or does it collide with the first box at an angle and then slide along its face? – Jon Mar 5 '16 at 18:27
• exactly parallel – Mateusz Sowiński Mar 5 '16 at 18:40
• – DMGregory Jul 31 '17 at 3:27