TorsionSpringConstraint
Applies a torsional spring constraint between two attachments.
Properties
| Property | Type | Default |
|---|---|---|
Attachment0 | any | nil |
Attachment1 | any | nil |
Enabled | boolean | true |
Visible | boolean | true |
Color | any | Color3.fromRGB(255, 165, 0) |
MaxAngle | number | 45 |
Damping | number | 1 |
Stiffness | number | 10 |
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()