What I've done is create a normal camera and made it float above a terrain. Then I made 4 global variables to store information about the camera's position: camx, camy, camz and camr (the last one being rotation). Then each frame I update the camera's position like so:
Code: Select all
camera->setPosition(core::vector3df(camx,camy,camz));
camera->setRotation(core::vector3df(0,camr,0));
Any ideas as to why/how to fix this?