Joint:isEnabled
EditReturns whether the Joint is enabled. Disabled joints do not affect the simulation in any way. Use Joint:setEnabled
to reactivate the Joint later. If the Joint is no longer needed, Joint:destroy
is a better option that completely removes the Joint from the simulation.
enabled = Joint:isEnabled()
Arguments
None
Returns
Name | Type | Description |
enabled | boolean | Whether the Joint is enabled. |