I thought to use drive manipulador but I have colision detection in my camera that colides with wall and go up and down stair. If I could to take x,y,z of a drive manipulator it should be good .
On Mon, Dec 29, 2008 at 10:56 AM, Ümit Uzun <[email protected]> wrote: > 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 > > -- Carlos Sanches Analista de Sistemas e computação gráfica Tel: 55 11 3816 2888 Cel: 55 11 9650 7137 Somar Meteorologia www.somarmeteorologia.com.br
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

