Get collision between (point+angle) to ground?

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.
Post Reply
Beam

Get collision between (point+angle) to ground?

Post by Beam »

Hi

My airplane can shoot machinegun just like in the game wings of steel. So I need to find out where bullets hit the ground or other nodes when fired from the plane (which has a specific angle at any given time).

Of course i can do this with particles/projectiles traveling through the air until hitting, but it would eat more cpu no? As machinegun-bullets has to be numerous.

Thanks for any tips.
Beam
Beam

Post by Beam »

Ok i just do it with particles then, it isnt that cpu-heavy anyway...
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

i've not implemented this yet, but i plan to do the world collision check as the bullets leave the gun, and check moving targets as they fly through the air
Ace12GA
Posts: 7
Joined: Mon Aug 08, 2005 2:43 am

Post by Ace12GA »

http://irrlicht.sourceforge.net/tut007.html

I believe whats outlined as the second selector method is what you are trying to do. It returns the position that the current camera target is intersecting, e.i. whatever you are aiming at. I am a newb to this engine however, but that seems to me what you want to do.
Post Reply