Collider:isEnabled
EditReturns whether the Collider is enabled. When a Collider is disabled, it is removed from the World and does not impact the physics simulation in any way. The Collider keeps all of its state and can be re-enabled to add it back to the World.
enabled = Collider:isEnabled()
Arguments
None
Returns
Name | Type | Description |
enabled | boolean | Whether the Collider is enabled. |
Notes
Colliders are enabled when they are created.