Shoggoth removed SceneNode::getWorldPosition() and getWorldOrientation()

In Ogre 1.6.0 RC1, SceneNode::getWorldPosition() and SceneNode::getWorldOrientation() was removed. A topic of the forum reports that some developers who changed their engine to 1.6.0 get errors at compiling.

‘getWorldOrientation’ : is not a member of ‘Ogre::SceneNode’

Changelog explained those two methods were removed from Renderable interface. At the same time, those methos were removed from SceneNode class. The engine gets full transform matrices from Renderable interface, so it doesn’t need getWorldMatrix() and getWorldOrientation(). We may use _getDeriveedPosition() and _getDerivedOrientation() instead of the removed methods.

getWorldPosition() and getWorldOrientation() were pure alias methods. Therefore, you may add those alias methos to OgreSceneNode.h of 1.6.0. Even if you do this little hack to a header file of the prebuild SDK, you don’t need to re-build the engine.

Advertisements
This entry was posted in OGRE 3D. Bookmark the permalink.

2 Responses to Shoggoth removed SceneNode::getWorldPosition() and getWorldOrientation()

  1. andreyaradford says:

    Hi Nice Blog Web based time clock gives you access to your info 24/7/365,< HREF="http://www.labortimetracker.com" REL="nofollow">web time clock<> gives you global system updatesWeb based time clock gives you consistency throughout your organization. Web based time clock gives you reduced startup costs. Web based time clock is platform independent

  2. Anonymous says:

    not getDeriveedPosition(), but getDerivedPosition()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s