NewtonWorldGetFirstBody
NewtonWorldGetFirstBody
NewtonBody* NewtonWorldGetFirstBody (const NewtonWorld* const newtonWorld)
Usage
Get the first body in the body in the world body list.
Parameters
- const NewtonWorld* const newtonWorld
Return
- NewtonBody*
Description
- The application can call this function to iterate thought every body in the world.
- The application call this function for debugging purpose
See also
NewtonWorldGetNextBody NewtonWorldForEachBodyInAABBDo NewtonWorldForEachJointDo