[ODE] rotation

caglar yarimuyku at yahoo.com
Sat Jan 14 13:29:01 MST 2006


thanks for the help,
    
    giving the ODE quaternion as input to setOrientation of SceneNode class worked well in Ogre.
    
    but the site you gave is not working. it says there are no file packages defined for this project.
  
    caglar;

Mathias Weber <mweb at gmx.ch> wrote:  hi

caglar wrote:
>  how can i apply rotation to an object from ODE to Ogre platform. I  tried to use quaternion but i couldnt do that. Is there anyone knows  about that?
>   
>   --caglar
>    

i'm using ode with ogre without problems, if you get any problems just
have a look at the ogreaddons ogreode or at the affiliated project
Gangsta Wrapper (http://sourceforge.net/projects/gangsta). Both give you
the chance using ode with ogre.

const dReal* orientation = dBodyGetQuaternion(_body);
Ogre::Quaternion _orientation;
_orientation.w = (Real)orientation[0];
_orientation.x = (Real)orientation[1];
_orientation.y = (Real)orientation[2];
_orientation.z = (Real)orientation[3];

i hope this helps.

Mathias
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode



			
---------------------------------
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060114/1b69a61d/attachment.htm


More information about the ODE mailing list