"Axel Spirtaat" writes:

> Hi,
>
> I need to place the imported model of a table on the floor of my virtual 
> room. Since the table is longer and wider than high, the related 
> boundingSphere radius is really imprecise and i can't place it correctly (i 
> use also bullet for physics). 
> Is it possible to get the bounding box of an object in any way? 
> Since i need to decorate the room with many objects, this can result 
> difficult only with the boundingSphere.

Use a Node Visitor to reach the available geodes in the model. Every
geode can be asked for its bounding box.

-- 
Alberto

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

Reply via email to