Use a MatrixTransform node, and set the matrix so that the basis orients
your object correctly.

Or use a PositionAttitudeTransform, and do the same thing with a Quat.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sergey
Sent: Sunday, April 12, 2009 2:03 PM
To: [email protected]
Subject: [osg-users] Point To

Hi All,

Is osg have some function like PointTo?  I need to rotate my object  to
point by one of it's axis to another object.

Thank you.

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





_______________________________________________
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