canSleep

abstract override fun canSleep(value: Boolean): RigidBody.Own

Sets if this body is able to fall asleep by itself (see RigidBody).