So I'm making a sonic arcade game like arkanoid, and at random times the ball will get stuck bouncing in the same direction. How can I fix this?
Develop games in your browser. Powerful, performant & highly capable.
various methods
adding a small random angle to the bounce
change the collision polygons to always have some sort of crooked edge
a check to see if last bounced angle is the samme as current, and if so, add little to angle
to name a few