Difference between revisions of "NewtonBodyGetAutoSleep"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
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