- Enclosing class:
- SoCollisionManager
public static interface SoCollisionManager.CollisionListener
Collision callbacks are called when there is a collision. The callback
functions receive information about the primitives which collide. If the
callback returns NEXT_PRIMITIVE, it will be called for the two next
colliding triangles or segments; if it returns NEXT_SHAPE, it will be
called for the two next colliding shapes; if it returns ABORT, it will be
called only if another transformation generates a collision.
When the gluing flag is TRUE, the object and scene passed to the callback
function are NULL because there is no collision.