http://irrlicht.sourceforge.net/phpBB2/ ... p?p=110533
(I changed the things mentioned in the thread)
But i only get a black screen. When i use a normal camera i can see my terrain and mesh. Here is the code i tried with (functional cam is commented):
Code: Select all
RTSCamera* camera = new RTSCamera(device,smgr->getRootSceneNode(),smgr,-1,1000.0f,10.0f,10.0f);
camera->setPosition(vector3df(1000,1000,1000));
camera->setTarget(core::vector3df(0,0,0));
// scene::ICameraSceneNode* camera = smgr->addCameraSceneNode();
// camera->setPosition(core::vector3df(1000,1000,1000));
// camera->setTarget(core::vector3df(0,0,0));