View Full Version : A fast algorithm for collision detection, Simple android game, Suggestions needed

07-08-2012, 06:56 AM
Well as you all must have noticed I am a newbie and I just started doing simple opengl programming, The thing is that I will appreciate if any one could suggest a fast but efficient algorithm for a pool game.

07-11-2012, 03:28 PM
void main{

And you're done!

07-14-2012, 02:04 AM
Thanks newsb, but unfortunately your advice is not very helpful

Dark Photon
07-14-2012, 02:14 PM
Check out Bullet for Android, and Google bullet pool game for an existing example.

Do some reading in:

* the SIGGRAPH 2010 Collision and Proximity Computations for Games course notes: http://sglab.kaist.ac.kr/~sungeui/Collision_tutorial/ (http://sglab.kaist.ac.kr/%7Esungeui/Collision_tutorial/)
* the Bullet Wiki: http://bulletphysics.org/mediawiki-1.5.8/index.php/Collision_Detection_and_Physics_FAQ and