Game Development Community

FPS : Detect collision of riffle shot than bow shot

by Nora Ky · in Game Design and Creative Issues · 03/30/2006 (9:04 pm) · 7 replies

I dont know how to detect collision between object with the gun shot.
Example : In game I select gun ask snipper then shoot to object in game.
Anybody have idea, how to dectect the collision of my shot to object?

Thanks

#1
04/24/2006 (6:32 pm)
Please refine the question
#2
04/24/2006 (7:44 pm)
Anthony,
Thanks you. If you dont inform me, I dont know my question is not clear cause I not good in english skill. :)
#3
04/24/2006 (7:56 pm)
I want to implement 3rd person shooting games.
I have Cross- image put it in center of screen,
How to detect collision from weapon point to other character?
#4
07/31/2006 (1:14 am)
Hmmm if I do understand you correctly, you want to know how u can detect if the gun is actually aiming at the target. if this IS your question, the answer is you dont have to detect that.
The gun should actually have to shoot a bullet, and in a bullet::onCollision function you can put line that, for example, apply damage to the colliding object.

I hope this answers your question ;)
#5
07/31/2006 (9:58 pm)
Thanks for your idea, Now i dont have problem with collision. I use SceneObject::castRay() to detect the collission. :)
#6
10/07/2006 (11:07 am)
HE MEANS THAT IS THERE ANYWAY TO DETECT COLLISION WITH THE PROJECTILE OF THE CROSSBOW AND AN OBJECT"!
#7
10/07/2006 (11:14 am)
Saska, you need to read this.

You have brought back three dead threads in a day, and you post in all caps.