Hi everyone.
In my application, when I press the 'p' key, when no shape is
selected, I create a small ShapeDrawable sphere and add it to the root node.
I'd like to be able to create that shape right under the mouse cursor. I've
tried using the coordinates from ea.getX() and ea.getY(), but they are not
the same as my world coordinates. Which is logically fine, since they can't
coincide when my view is rotated from the original position. Is there a way
to perform this action?
Thanks,
Renan M Z Mendes
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org