First Person Shooter Gun

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
etal2009
Posts: 16
Joined: Wed Mar 10, 2010 2:26 pm

First Person Shooter Gun

Post by etal2009 »

How do I attach a gun to the FPS camera? I'm sure there are some topics covering this already, however, I just can't seem to find any. Thank you.

A picture of what I want:
Image
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: First Person Shooter Gun

Post by randomMesh »

There's ISceneNode::addChild().

Edit:
etal2009 wrote:I'm sure there are some topics covering this already, however, I just can't seem to find any.
The search term would be 'attach AND camera' (without the quotes). You'd need a logical AND to get better results.
Last edited by randomMesh on Thu Mar 11, 2010 2:48 pm, edited 1 time in total.
"Whoops..."
digoxy
Posts: 51
Joined: Wed Feb 17, 2010 3:55 pm
Location: Currently Germany.

Post by digoxy »

Cool shot to, good perspective. :)
Grandma-- / Grandpa --
Post Reply