Hi Carlos, You should look at osgGA namespace's sample manipulators like a drive manipulator. You can solve your problem by trying to understand;
void DriveManipulator::flushMouseEventStack() and void DriveManipulator::flushMouseEventStack() functions to how reset the mouse position. HTH, Best Regards. 2008/12/29 Carlos Sanches <[email protected]> > Hi friends! > I m doing the rotation camera controled by mouse testing how many pixels > the mouse moved in x,y. > after test i have to back the mouse position to 0,0 position to do the test > again in the next step. > I d want to know how to set the mouse position x,y. I m looking for some > function like setMousePosition but I m not finding. > Exist something like this ? > > Thank you and happy new year to us :) > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Ümit Uzun
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

