Need some help

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
zak

Need some help

Post by zak »

I have been playing with irrlicht for awhile and its real awsome! anyways I was wanting to know how to give my camera... you know how you navigate around the map with the keys, how can i give it a node so when I do the 3rd person you will see a model? im sorry i do not know this so far i only have a map, skybox, some models doing actions like EMAT_jump and collision detection so i do not know how to do this, pleas help

Regards,
zak :) :?:
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

I'm not sure I fully understand your question, but using addCameraSceneNodeFPS creates a camera you can move around w/ the arrow keys, and for info on third person cameras, look in the FAQ and Tutorial Forum, there's an example of one there
The Robomaniac
Project Head / Lead Programmer
Centaur Force
zak

Post by zak »

yes this is what I have:
camera = smgr->addCameraSceneNodeFPS(0,100.0f,300.0f, -1, keyMap, 8);
camera->setPosition(core::vector3df(0,0,-99));

i can control the camera/node thing with the arrow keys and my key map but I'm saying how can I give it a model?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

what do you mean 'give it a model'

do you mean show a weapon/hand in front of the camera? or do you mean you want to use a 3rd person camera?
a screen cap is worth 0x100000 DWORDS
Guest

Post by Guest »

yes, once it has some sort of model i will be adding a 3rd person camera
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

To "give it a model", just add the model as a child of the camera
The Robomaniac
Project Head / Lead Programmer
Centaur Force
zak

Post by zak »

you say "give it a model" with quotes... what is it really called, I dony want to be a new knowing only newb terms :'( also how would i do that(new)? any tutorials or samples>

Regards,
zak
Post Reply