[osg-users] Hide mouse cursor from CameraManipulator

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Sun May 10 18:59:17 PDT 2020


Add

setAllowThrow(false);

to your manipulator's constructor.

On Monday, January 11, 2016 at 7:00:56 AM UTC-2, Bernard Dalton wrote:
>
> Thanks for your reply and sorry for the late answer (week-end  :) ). 
> This work as intended and my CameraManipulator is nearly done, I still 
> have one issue : 
>
> In the Trackball Manipulator (or other manipulator which move with the 
> mouse) when you push the mouse button, move the mouse and then release the 
> button before stopping the mouse, the camera keep moving as the same speed 
> as before you release the button. 
>
> I want to remove this behavior in my Manipulator and stop the movement 
> when the mouse is released. I have looked in the inherited method 
> performMovement() and performMovementLeftMouseButton() but I didn't find 
> what I needed to change. 
>
> ------------------ 
> Read this topic online here: 
> http://forum.openscenegraph.org/viewtopic.php?p=65980#65980 
>
>
>
>
>
> _______________________________________________ 
> osg-users mailing list 
> osg-... at lists.openscenegraph.org <javascript:> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/6686d50f-67f0-4443-b2fc-2ebf3c6f2f99%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200510/8f349b06/attachment.html>


More information about the osg-users mailing list