After working with crystalspace/cel for a while, I've decided to try irrlicht. So far, the API seems a great deal more comprehensible and documented. And much more intuitive.
That being said, I am having problems animating the camera.
I create a cube and camera to start with...
Code: Select all
ISceneManager* scenemgr = device->getSceneManager();
ISceneNode* node = scenemgr->addCubeSceneNode ();
ICameraSceneNode* camera = scenemgr->addCameraSceneNode(0, core::vector3df(0,-40,0), core::vector3df(0,0,0));Code: Select all
ISceneNodeAnimator* anim = scenemgr->createRotationAnimator(vector3df(1,0,0));
node->addAnimator(anim);Code: Select all
ISceneNodeAnimator* anim = scenemgr->createRotationAnimator(vector3df(1,0,0));
camera->addAnimator(anim);