IsraelAbebe / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Camera's orientation is offset from ogres #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps to resolve the problem (using Advance Ogre Framework dot loader)?

Camera* sceneCam = m_pSceneMgr->getCamera("Camera");
m_pCamera = m_pSceneMgr->getCamera("Camera");
OgreFramework::getSingletonPtr()->m_pViewport->setCamera(m_pCamera);
m_pCamera->pitch(Degree(-90));

Please provide any additional information below.

Probably something like this will resolve the issue.

e = Euler(); e.x = -pi /2
bpy.data.objects["Foo"].rotation_quaternion.rotate(e)

Original issue reported on code.google.com by delaneyg...@gmail.com on 13 Oct 2011 at 4:19