Hi Carlos,

there exists a method to reset the mouse position. It is the 
osgGA::GUIActionAdapter::requestWarpPointer method. You get the action adapter 
in your callback method, where you capture the inputs (keyboard, mouse, ...). 
However be warned, when you call this method, your callback method will be 
called again, because the requestWarpPointer does resend the mouse event. Hence 
you have to take care if this method was called by the system or by your code ;)

cheers,
art

------------------
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=3890#3890





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to