Head Cam

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
Spanky
Posts: 5
Joined: Wed Jul 20, 2005 1:10 pm

Head Cam

Post by Spanky »

forgive the noobness....

Is it possible to attach the first person camera to you models head? If so, can i get some pseudo code on how to go about doing it.

Basically, i want to be able to look around and see my models arms, legs and stuff....

i cant find if anybody else has aked this...

thanks :oops:
Of all the things i've lost, i miss my mind the most...
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

It takes a bit of perfection to make it look right but you can do this rather easily.

In most fps'ers you don't actually draw your charactor unless you're in some sort of cinimatic scene or something thats why you don't normally see the legs or body.

All you need to do is set it up like a third person camera where the camera's position is in the head of the model possibly modifying the model to remove the head so you don't get any bad effects from the camera being inside the model at any certain point.

In some games you can not see your charactor from the camera but you can in a mirror for example this is just texture effects or special code to show things where you actually want them drawn and not where you don't.

Keep in mind that ANYTHING is possible with 3d graphics aside from having too much poly or something however that doesn't mean its all that easy to do.
Post Reply