Collider:isDestroyed
EditReturns whether the collider has been destroyed.
destroyed = Collider:isDestroyed()
Arguments
None
Returns
Name | Type | Description |
destroyed | boolean | Whether the collider has been destroyed. |
Notes
After a Collider is destroyed, calling methods on it or passing it to a function will throw an error.