Bad 2D Collision Detection

Hello,

So my problem is very simple. I have two sprites , both have colliders and one has rigidbody2d. And problem is that even if they arent touching each other or even close, they detect collide. Sometimes it feels like colliders are not in sync with sprite. Any ideas ?

I’d say the 2D collision in unity is pretty good, so I think there is something else wrong.

Upload your scene so we can take a closer look.

I recently learned this is a symptom of the optimization for 2D physics. A trick I also recently learned is to scale the sprite approx. 10% larger so the colliders on each object make the 2D sprites look like they are interacting.

Report back with your results.

1 Like