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