[osg-users] Collided nodes in callback

Matus Gabriska matus.gabriska at gmail.com
Sat May 21 05:24:50 PDT 2016


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!


Read this topic online here:

More information about the osg-users mailing list