PDA

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



_Steam
07-08-2012, 05: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.

newsb
07-11-2012, 02:28 PM
void main{
startGame();
}

And you're done!

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

Dark Photon
07-14-2012, 01: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