RodConstraint
Maintains a fixed distance between two attachments while allowing free rotation.
Properties
| Property | Type | Default |
|---|---|---|
Attachment0 | any | nil |
Attachment1 | any | nil |
Enabled | boolean | true |
Visible | boolean | true |
Color | any | Color3.fromRGB(150, 150, 150) |
Length | number | 5 |
Functions
cleanup
Arguments
This function takes no arguments.
Returns
This function returns nothing.
rebuild
Arguments
This function takes no arguments.
Returns
This function returns nothing.
onPartChanged
Arguments
propReturns
This function returns nothing.
drawGizmo
Arguments
This function takes no arguments.
Returns
This function returns nothing.
API
instance:cleanup()
instance:rebuild()
instance:onPartChanged(prop)
instance:drawGizmo()