How to user OGRE bullet for a shooter game

siddhant

03-06-2008 22:50:25

hi,
I am planning to write a basic shooter game . I have a question about what is the best method to check whether bullet hits any movable/static object. The approach that comes to my mind is :-

"Update positions of all the objects in ogre bullet world and then perform discrete collision check in each frame."

Is this the right approach or is there any better way using continuous collision detection of bullet.

Please help. It would be really nice if someone can tell me about any article that discusses such a problem

Thanking you in advance.

regards
Siddhant

DieHard

04-06-2008 03:00:23

If you're talking about an actual "bullet", that means you can't see it traveling without a "tracer", then you probably should look into "ray casting" because it is inexpensive to use for physics.