- Home /
Strange collisions at the edges of boxCollider2D
Hi folks, first things first, sorry for my english..
I'm trying to figure out how to fix a bug in my breakout game and maybe someone can help me..
Components:
ball - CircleCollider2D, 0 friction and 1 bounciness
block - BoxCollider2D, 0 friction and 0 bounciness
Sometimes, when by ball hit the corner of a block, she take strange and unpredictable directions.. how can i do to avoid this? i've tried to switch the boxcollider of my blocks with a poligonal collider, with 45°-smooth enges, but nothing changes..
Your answer
![](https://koobas.hobune.stream/wayback/20220613144148im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to avoid Rigidbody collider from getting stuck between walls 1 Answer
Is this a correct way to have multiple different compound colliders in one gameobject? 1 Answer
Velocity doesnt change properly 1 Answer
useAutoMass and child objects 1 Answer
Physics2D.OverlapBoxNonAlloc not return all overlapped collider 1 Answer