HI Camile,
You simply need to walk back from of the end of the
Intersection::nodePath to the first group, of which ever one you wan
to use.
If you want to see an example of highlighitng picked items have a look
at the osgkeyboard mouse.
Cheers,
Robert.
On Mon, May 16, 2011 at 11:24 PM, camille
Hi,
I want to select an object after a picking.
I found how to do picking but i don't know how to get the group that
corresponds to the picked zone.
My scene is composed of simple shapes (shapedrawable, geodes and group).
I want to get the first group in the hierarchy.
Code:
#ifndef
2 matches
Mail list logo