sm.joint
A joint is a part that can be built by a player that is used to connect bodies. There are multiple scriptable joint types:
- The bearing allows two bodies to revolve freely around each other. (See Interactable.getBearings)
- The piston extends and contracts to change the distance between two bodies. (See Interactable.getPistons)
Constants
| Name | Type | Description |
|---|---|---|
types |
table | The type list. |
types
Value type: table
{
"bearing", -- A bearing part.
"spring", -- A spring part.
"piston", -- A piston part.
}