Collider:setAwake
EditPuts the Collider to sleep or wakes it up manually.
Collider:setAwake(awake)
Arguments
Name | Type | Description |
awake | boolean | Whether the Collider should be awake. |
Returns
Nothing
Notes
This function can still be used to put a Collider to sleep even if automatic sleeping has been disabled with Collider:setSleepingAllowed
.