[osg-users] How to group many objects so that they are selected as one

Stev Kookmal steva44 at hotmail.com
Sun Aug 21 20:38:59 PDT 2016


Hi,

I am trying to figure out how to group many objects so that they are selected all at once.  I am getting some interesting behavior. 

For example, I have an object derived of a matrix transform and a shape drawable.  I then add both of these to a position attitude transform to create one object that I want to select as a whole.  When I click (intersect) on the shape drawable, the entire group gets selected as I want.  When I click on the matrix transform, only that sub-unit gets selected.  

How should I set up my geometries so that they get selected as a unit?

Thank you!

Cheers,
B

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68433#68433








More information about the osg-users mailing list