Hello Ke Li,

yes, if the mouse is moving when you release the button the model
rotates continously. This is a feature that is really nice for quick
presentations where you want the audience to look at the dazzling
stuff moving around on the screen instead of listening to your
rambling. It is part of the osgGA:TrackballManipulator and there is no
soft way of changing this behaviour.
However it is easy to subclass TrackballManipulator or write your own
cool Maniuplator, possibly using TrackballManip for reference. For the
feature you want to disable; look in the
TrackballManipulator::handle() method for a GUIEventAdapter::RELEASE
event.

Mattias

On 4/11/08, Ke Li <[EMAIL PROTECTED]> wrote:
>
> Hi all,In some
> OSG examples, if I drag the mouse quickly enough, the OSG nodes will 
> continuously rotate untill I click again. Can anybody kindly instruct me how 
> to disable this functionality? Thanks!Ke Li
> _________________________________________________________________
> Get in touch in an instant. Get Windows Live Messenger now.
> http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to