sm.joint
Associated object type: 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:
sm.joint.types table
"bearing" | A bearing part. |
"piston" | A piston part. |