Problems with collision detection

I noticed that when ball hits between two bricks sitting beside, sometimes it bounces backwards, which is strange and counter intuitive. It looks as if it missed the collider of one of the bricks and hit the corner of another one and that’s what’s making it getting a wrong bounce angle.
Is there a way to fix that behavior? I tried increasing the quality settings under Physics2D Project Settings by increasing things like Velocity Iterations or Position Iterations a couple of times, but without great results.
I also tried extending the size of colliders, so there was a bit of overlap, but that also didn’t get rid of the problem.

Any ideas how this could be fixed?

Privacy & Terms