NewtonWorldListenerSetBodyDestroyCallback
Contents
NewtonWorldListenerSetBodyDestroyCallback
void NewtonWorldListenerSetBodyDestroyCallback(const NewtonWorld* const newtonWorld, void* const listener, NewtonWorldListenerBodyDestroyCallback bodyDestroyCallback)
Usage
Adds a callback to newton world, this callback will be called always when any body within the world is destroyed.
Parameters
- const NewtonWorld* const newtonWorld - instance of newton world
- void* const listener - pointer to a listener created with NewtonWorldAddListener
- NewtonWorldListenerBodyDestroyCallback bodyDestroyCallback update - pointer to your callback
Return
- (Procedure)
Description
See also
NewtonWorldAddListener, NewtonWorldGetListenerUserData, NewtonWorldListenerDebug, NewtonWorldListenerGetBodyDestroyCallback, NewtonWorldListenerSetBodyDestroyCallback, NewtonWorldListenerSetDebugCallback, NewtonWorldListenerSetDestroctorCallback, NewtonWorldListenerSetPostUpdateCallback, NewtonWorldListenerSetPreUpdateCallback