So far I've been able to make a regulkar camera like this:
Code: Select all
scene::ICameraSceneNode* camera = scenemgr->addCameraSceneNode(node, core::vector3df(0, 200, 100), core::vector3df(0, 200, 100), 1);
I see that ICameraSceneNode's constructor takes position and a rotation, but i always get errors when constructing it:
Code: Select all
scene::ICameraSceneNode* camera = new scene::ICameraSceneNode(node, smgr, 1, core::vector3df(-200,200,-200), core::vector3df(0, 100, 0), core::vector3df(1.0f, 1.0f, 1.0f) );
Could someone please give an example of how to make a camera that is manually controlled.
Thank you for your time.
~muller