如果是相机的话直接用Camera的moveRelative()函数

如果是节点的话使用SceneNode._setDerivedPosition( SceneNode._getDerivedOrientation()*Ogre::Vector3(0,0,-1)*15 +SceneNode._getDerivedPosition())

相关文章:

  • 2021-07-02
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2022-01-02
猜你喜欢
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-07-06
  • 2021-12-11
  • 2022-12-23
相关资源
相似解决方案