Hello!
I have a 2D physics problem where a RigidBody2D BoxCollider2D which is set to never sleep and continuous collision detection gets stuck between two static colliders. Setting the rigidbody collision detection mode to discrete solves the problem but we have mechanics which involve stacking boxes on top of each other and using discrete collision detection the stack of boxes will most often collapse.
I have tried using rounded corners, use frictionless material, use edge colliders for everything, use crazy gravity values like 1000 but the box still gets stuck between the walls.
The scale of the colliders is unit size and their physics material is frictionless. Also the gap between the two highlighted black walls is 1 unit so the collider should pass through the gap.
This is the only remaining major issue which is giving us a lot of trouble while doing level design. Right now our only solution is to increase the gap by slightly offsetting the colliders but this is not a viable solution in all situations.
Any kind of help will be really appreciated.
Thank you.