View Full Version : Could anyone suggest me how to implement bullet detection
02-17-2007, 02:00 AM
I am currently working on the first person shooter.
Everthing works fine...now comes to the stage that to implement bullet detection. As you guys know, thats impossible to turn 2D inputs into 3D coordinates. So, what could I do?
I have been searching on Google. I cant find any suitable web site for reference. I would be very appreciate if anyone could help me! Superb thanks!
Posting in the beginners forum was the better choice.
02-17-2007, 04:35 AM
oh, sorry for that!
i am a newbie here, no more i promise!
by the way, do u have ay ideas?
02-17-2007, 07:16 AM
glBeginBulletDetection(bulletPos, bulletDir, bulletVel);
GLbool result = glEndBulletDetection();
02-17-2007, 09:31 AM
that's one hot totti.
02-26-2007, 07:20 PM
hahaha.. knackered you are so evil...
(although I must admit this time you made me laught) hahaha
Totti: the basic answer and unseful answer -but the truth- is "That's not an OpenGL related question". The reason is because your question has to do with data algorithms and how you handle that data in your game engine. Google for "Collision Detection" and you can start giving yourself ideas. This algorithms do not have nothing to do with OpenGL commands but on data handling itself which is THEN used to call the correspoding gl commands.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.