- Home /
Colliders unwantedly overlap each other
I'm learning the collision in Unity and when I make two box colliders they seem to move inside each other a little bit when colliding. I would like to have them act as in real life by not overlaping at all. I can see the collider is accurately around the boxses, but still for some unknown reason the boxses overlap each other when colliding :(
Is there some setting that allowes them to collide without the overlaping?
Thanks!
You might want to scale up your collider. Then they still overlap but outside the actual object.
They kind of have to overlap a little bit to be able to detect the collision! You can decrease Physics.$$anonymous$$PenetrationForPenalty if you want to decrease the amount of overlapping.
Your answer
Follow this Question
Related Questions
How to Manually Test Trigger Overlap 0 Answers
physics.OverlapSphere colliders 1 Answer
Make mesh from overlapping colliders/triggers 0 Answers
overlayCircle not working 1 Answer