NewtonBodyGetAutoSleep
NewtonBodyGetAutoSleep
API int NewtonBodyGetAutoSleep (const NewtonBody* body);
Usage
Get the auto-sleep state of the body.
Parameters
- const NewtonBody *bodyPtr - is the pointer to the body.
Return
- Tells you the body's auto-sleep mode. 1 = auto-activation on. 0 = auto-activation off.
See also
NewtonBodyGetSleepState NewtonBodySetAutoSleep NewtonBodyGetFreezeState NewtonBodySetFreezeState