Joint:setEnabled
EditEnable or disable the Joint. Disabled joints do not affect the simulation in any way. If the Joint is no longer needed, Joint:destroy
is a better option that completely removes the Joint from the simulation.
Joint:setEnabled(enabled)
Arguments
Name | Type | Description |
enabled | boolean | Whether the Joint should be enabled. |
Returns
Nothing