Hi, Robert , Ümit
So if I have object with coordinates (100,200,300) and want it to turn to point (10,20,30) I must make this : osg::PositionAttitudeTransform* Transf;// this is transform of my object Transf->setPosition(osg::Vec3(100,200,300)); osg::Quat quad; osg::Matrix matrix; matrix.makeLookAt( Transf->getPosition(), osg::Vec3(10,20,30), osg::Z_AXIS); matrix.get(quad); Transf->setAttitude(quad); Am I right? ... Thank you! Cheers, Sergey ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12662#12662 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org