关于IRRLICHT中动态操作摄像机位置和旋转的条件函数
在使用 irr::scene::ISceneManager::addCameraSceneNode(…);函数(function)的时候, 若想要使用setRotatioin()或者setTarget()控制摄像机(camera)拍摄视角的话, 需要使用
irr::scene::ICameraSceneNode::bindTargetAndRotation(bool bound)[pure virtual]并设置其参数bound = true才能使setRotation()或setTarget()起作用.
使用方法参数设定: bound = true;实施绑定,bound = false;解除绑定
注: 除了irr::scene::ISceneManager::addFPSCameraSceneNode(…)获得的摄像机(camera)是对该方法(bindTargetAndRotation(bool bound))为默认使用之外, 其余方式生成的摄像机都没有使用该方法, 因此要手动添加.