Look through the examples in the OSG src and also look through the tuorials on the Web site, you will find code that's shows you how to do this
Gordon Product Manager 3d __________________________________________________________ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __________________________________________________________ -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Adrien Joly Sent: Thursday, April 02, 2009 5:39 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] PositionAttitudeTransform - How do I make a rotation Hi, I'm kind of newbie in 3D developpment and in openSceneGraph. I want to rotate a node using PositionAttitudeTransform::setAttitude but I don't know how to do that. I've tried to make it rotate according ti the fact that x, y and z of the Quat is the coordinate of the vector from the origin (x, x, z) plus an angle (w). But the node has a strange behavior. Can anyone help me? Thank you. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9612#9612 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org