I need to attach a node to the camera position and keep the rotation static.
I set the node as a child and it follows the camera position and rotation. I tried setting the node to the position of the camera and the node has the slightest lag.
How could I set the position without setting the rotation and causing lag?
Attaching a node to the camera position?
I did not try this, but did you try to call updateAbsolutePosition() for the camera, before geting his position ???
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
You can do this without adding child. In my atmosphere project i used camera position to set sun position. look to void prep_interpolation in atmosphere.cpp on 372 line.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
check out my source code
i have a working 3rd person camera example in my site, you can read it , or just use that camera
freewebs.com/juliusctw
freewebs.com/juliusctw
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt