typedef void (*NewtonCollisionDestructor) (const NewtonWorld* world, const NewtonCollision* collision);
This callback is set using NewtonSetCollisionDestructor and will notify you whenever a newton collision is destroyed (when the collision reference count reaches zero - see NewtonAddCollisionReference and NewtonReleaseCollision)
- const NewtonWorld* world - the newton world that the newton collision was created in.
- const NewtonCollision* collision - the newton collision which was freed.
- This is not a library function, but a callback event.