Animator(动画效果)

来源:互联网 发布:大学c语言编程软件 编辑:程序博客网 时间:2024/05/22 12:16

//让物体圆周运动
   //scene::ISceneNodeAnimator* anim = smgr->createFlyCircleAnimator(core::vector3df(0,0,30), 20.0f);
   //让物体直飞
   scene::ISceneNodeAnimator* anim = smgr->createFlyStraightAnimator(core::vector3df(0,0,60),core::vector3df(-300,0,60), 3500, true);