osg::Box is the thing you are after. Create a ShapeDrawable for one, and add it 
to a group that is part of, or that contains your cow model.

Then set node flags or a cull callback to make the ShapeDrawable invisible, and 
if you like, you could also set flags on the intersection visitor to only 
attempt to make intersections with your new collision boxes.





Alistair Baxter
Software Engineer
________________________________
Join us for the 2014 Houston Roadshow on 4th April
More details on our Calendar: http://www.mve.com/calendar

Midland Valley Exploration Ltd.
144 West George Street
Glasgow G2 2HG
United Kingdom
Tel:     +44 (0) 141 332 2681
Fax:    +44 (0) 141 332 6792
The structural geology experts 

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to