Hello Sajjad,
I want to rotate the camera against X axis when the mouse is clicked and dragged vertically - means against the X - axis. with very same left mouse click. Do i have to create another osg::Quat variable for that or use the existing one ?
I'm confused - you have the code, why don't you experiment? You can change the manipulator to do whatever you want.
Hint: you can multiply whatever quaternion you have by another one that rotates around the X axis by the y mouse input value you get. That will give you a compound rotation which is the combination of both rotations.
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

