irrBullet - rigid bodies reacting on fired bullet

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
d3jake
Posts: 198
Joined: Sat Mar 22, 2008 7:49 pm
Location: United States of America

Post by d3jake »

Is that bullet being fired from a model in such a way that it is within your player mesh for a short time?
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post by cobra »

Yes, that's a possibility.

Also, I recommend that you use one collision callback in your game. Then you can add attributes to certain objects (weapon, vehicle, terrain/map, powerup, etc.) and check if an object with one attribute has collided with another.

This is how I do it in my own game, in fact.
Josiah Hartzell
Image
Post Reply