NewtonWorldAddListener
NewtonWorldAddListener
void* NewtonWorldAddListener (const NewtonWorld* const newtonWorld, const char* const nameId, void* const listenerUserData)
Usage
Creates a world listener for use with callbacks. See:
Parameters
- const NewtonWorld* const newtonWorld - pointer to instance of newton world to which this listener will belong to.
- const char* const nameId - name of the listener
- void* const listenerUserData - user-defined pointer, that is availible in called callbacks, typically used as pointer to instance of your object that will handle the callbacks.
Return
- pointer to listener
Description
See also
NewtonWorldAddListener, NewtonWorldGetListenerUserData, NewtonWorldListenerDebug, NewtonWorldListenerGetBodyDestroyCallback, NewtonWorldListenerSetBodyDestroyCallback, NewtonWorldListenerSetDebugCallback, NewtonWorldListenerSetDestroctorCallback, NewtonWorldListenerSetPostUpdateCallback, NewtonWorldListenerSetPreUpdateCallback