NewtonBodyIterator
Revision as of 08:02, 10 June 2019 by Unknown user (talk)
NewtonBodyIterator
typedef int (*NewtonBodyIterator) (const NewtonBody* const body, void* const userData)
Usage
This callback is called by NewtonWorldForEachBodyInAABBDo whenever a body intresecting the specified AABB is found.
Return
- You should return 1 if you with to receive further callbacks, and 0 to stop further callbacks.
Parameters
- const NewtonBody* body - body which was found by the iterator
- void* userData - userdata parameter from the NewtonWorldForEachBodyInAABBDo call.
Remarks
- This is not a library function, but a callback event.