Hi Ahmed, The OSG does not have a inbuilt collision detection system.
There is support for doing intersection using the osgUtil::IntersectionVisitor coupled with osgUtil::*Intersector implementation. The PolytopeIntersection is probably the closest to what you require. You'd need to create a polytope around your first object and then visit the scene graph using the IntersectionVisitor to find all the intersections. Robert. On Jan 29, 2008 7:55 AM, Ahmed Nawar <[EMAIL PROTECTED]> wrote: > Hi All, > > How i can test the Collision Detection between two nodes (x - y). > But these two nodes move by moving there parent (Deferent parents). > Every parent has a lot of sub nodes. > So I can not use the "BoundingSphere" of the parent. > And when i use the "BoundingSphere" of the nodes (x - y). > They (x - y) don't see the movement. > > Thanks, > Ahmed Nawar > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org