MakeJoints (Function)
From Legacy Roblox Wiki
|
Description
MakeJoints forms a bond (a joint) between bricks if they have the required surfaces types:
SurfaceType | Weld | Universal | Studs | Inlet | Glue | Smooth |
Weld | Weld | Weld | Weld | Weld | Weld | Weld |
Universal | Weld | Snap | Snap | Snap | Glue | No Joint |
Studs | Weld | Snap | No Joint | Snap | Glue | No Joint |
Inlet | Weld | Snap | Snap | No Joint | Glue | No Joint |
Glue | Weld | Glue | Glue | Glue | Glue | Glue |
Smooth | Weld | No Joint | No Joint | No Joint | Glue | No Joint |
Usage
Brick Form:
brick = game.Workspace.Brick brick:MakeJoints()
Model Form:
model = game.Workspace.Model model:MakeJoints()