dNearCallback

@brief User callback for geom-geom collision testing.

@param data The user data object, as passed to dSpaceCollide. @param o1 The first geom being tested. @param o2 The second geom being test.

@remarks The callback function can call dCollide on o1 and o2 to generate contact points between each pair. Then these contact points may be added to the simulation as contact joints. The user's callback function can of course chose not to call dCollide for any pair, e.g. if the user decides that those pairs should not interact.

@ingroup collide

extern (C) nothrow
alias dNearCallback = void function(void* data, dGeomID o1, dGeomID o2)

Meta