This project has moved and is read-only. For the latest updates, please go here.

Collision Issue

May 2, 2012 at 10:10 PM

Working on a top down physics game, similar to pinball. I'm running into some collision issues with circle and rectangle.

Lets say for example the circle collides with a rectangle at ~45* angle. Sometimes it will bounce back the path it came(straight back), other times, it will bounce back at what looks to be the correct path. On occasion, it will bounce back at what looks to be a 90* angle(which can get it stuck going horizontal between two objects until it comes to a rest).

I initially was working on my own physics engine, but this is just so much more powerful. The problem is, I'm not sure what adjustments will fix this.


Thank you in advance.