Hi Cosimo Luigi Manes,

Use void setPosition (const Vec3d &pos), void setPivotPoint (const Vec3d
&pivot), void setAttitude (const Quat &quat) of PositionAttitudeTransform
class to set position of the object, to set the centre of rotation, and
attitude respectively.

Cheers
Sumit Pandey

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Cosimo
Luigi Manes
Sent: Saturday, November 06, 2010 03:50
To: [email protected]
Subject: [osg-users] Rotation

Hi,

I implemented the rotation of an object with a node
PositionAttitudeTransform. How can I set the point around which the rotation
takes place?

Thank you!

Cheers,
Cosimo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33547#33547





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to