Hi Akilan,
I had installed osg2.9.6. osgWidget::Box is being used in my application. It provides, by default, transformation functionalities. Regarding rotation, it provides setRotation(osgWidget::matrix_type) to do that. But I am not sure how to specify the axis about which rotation to be done. I tried in other way like MT(rotate)-->osgWidget::Box (I m not sure whether it is correct way of doing). But it results nothing.
Use the osg::Matrix static methods to create matrices for different behaviors. For example, there is
static osg::Matrix rotate (value_type angle, const osg::Vec3f &axis); See http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00404.html Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

