MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / isAllowedToSleep

Method isAllowedToSleep

src/body/RigidBody.cpp:1164–1166  ·  view source on GitHub ↗

Return whether or not the body is allowed to sleep * @return True if the body is allowed to sleep and false otherwise */

Source from the content-addressed store, hash-verified

1162 * @return True if the body is allowed to sleep and false otherwise
1163 */
1164bool RigidBody::isAllowedToSleep() const {
1165 return mWorld.mRigidBodyComponents.getIsAllowedToSleep(mEntity);
1166}
1167
1168// Return whether or not the body is sleeping
1169/**

Callers

nothing calls this directly

Calls 1

getIsAllowedToSleepMethod · 0.80

Tested by

no test coverage detected