Hi, I think you have to be more precise on what you want to achieve in your callback... If you're seeking collision in order to apply physical collisions response, you missunderstand the purpose of osg framework and I can only point to dedicated tools in order to do it : osgPhysics or osgBullet. If you doesn't seek for physics, you'll have to do all by yourself. There are all primitive collision procedures in osgUtil
matus wrote: > Hi, > > I am implementing my own update callback and i need list of colliding nodes > with current node in operator() method. I have to use only simple collision > metod by comparing BoundSpheres but i dont know how to get list of colliding > nodes. I guess I have to somehow modify node visitor so when it traverse to > current node i can simply extract from nodevisitor list of colliding nodes. > > Any ideas? > > Thank you! > > Cheers, > Matus ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67183#67183 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

