NewtonWorld* NewtonBodyGetWorld(const NewtonBody* bodyPtr)
Retrieve get the pointer to the world from the body.
- const NewtonBody *bodyPtr - pointer to the body.
- the world that own this body.
- The application can use this function to determine what world own this body. If the application have to get the world from a joint, it can do so by getting one of the bodies attached to the joint and getting the world from that body.