Archived

This topic is now archived and is closed to further replies.

Gamerman25

Collision detection for bouncing balls

Recommended Posts

Gamerman25    122
I''m making a clone of the game beak out, I need help with the code to make the ball bounce around and to detect if it hit any blocks, I have an idea of what to do but i''m not exactly sure.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Have a look at this.
Look at the article entitled "Generic Collision Detection for Games Using Ellipsoids"

Its applicable both to 2d and 3d situations (but perhaps its slightly overkill, depending on how advanced collision detection you want)

Share this post


Link to post
Share on other sites