On 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I want to do something when double clicking on an object using left button
or right button of the mouse. How can I do that? Thanks.

What do you want to do?  Scratch your nose when you double click?  If
so I'd recommend change the node name of an object in a scene to say
"Scratch your nose" and then run this model in osgpick so when you
move the mouse over it you'll be able to see the word come up on
screen.

If not can be a little more specific, the OSG is primarily a scene
graph, it's windowing toolkits that allow you to catch events.  So
which windowing toolkti are you using?

Also have you got any picking already working?  Have you looked at the
osgpick example already?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to