如果你有一个连接有多个可移动对象(MovableObject),像实体、灯光及相机的场景结点,你可以用多个函数移动它,查看这些的API。下面的函数分别是移动(move)、重置(reposition)、缩放(scale)及绕它的X-,Y-,Z-轴进行旋转:
thisSceneNode->translate(10, 20, 30);
thisSceneNode->setPosition(1.8, 20.1, 10.5);
thisSceneNode->scale(0.5, 0.8, 1.3);
thisSceneNode->pitch(45);
thisSceneNode->yaw(90);
thisSceneNode->roll(180);