Firstly appologies if this is not a bug and just me being stupid, please delete/move if needed!
I need to know the cameras Derived Orientation (for use in Hydrax) however if autotracking is enabled the getDerivedOrientation() method in Ogre::Camera always returns an IDENTITY Quaternion. This does not seem correct/desirable behaviour to me.
P.S Using Ogre 1.7
Camera getDerivedOrientation() not working with Autotracking
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
-
- OGRE Retired Moderator
- Posts: 2653
- Joined: Wed Sep 24, 2003 8:07 am
- Location: Haute Garonne, France
- x 4
Re: Camera getDerivedOrientation() not working with Autotrac
I would say that if "camera->getParentSceneNode->getDerivedOrientation()" doesn't give the good orientation either, that means it just lacks an update ( like SceneNode::update(true, true) )
Otherwise that might be a bug indeed.
Best would be to do a step by step debug inside camera getDerivedOrientation() and see where it gets its derived information from ?
Otherwise that might be a bug indeed.
Best would be to do a step by step debug inside camera getDerivedOrientation() and see where it gets its derived information from ?