canSleep

abstract fun canSleep(value: Boolean): RigidBody.Mut

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