MakeJoints (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess No edit summary |
>ArceusInator a couple edits |
||
Line 4: | Line 4: | ||
|returns = [[nil]] | |returns = [[nil]] | ||
|description = Creates a joint on any side of the object that has a surface ID that can make a joint. | |description = Creates a joint on any side of the object that has a surface ID that can make a joint. | ||
|object = | |object = BasePart | ||
|object2 = Model | |||
}}</onlyinclude> | }}</onlyinclude> | ||
Line 29: | Line 30: | ||
Brick Form: | Brick Form: | ||
<pre> | |||
brick = game.Workspace.Brick | brick = game.Workspace.Brick | ||
brick:MakeJoints() | brick:MakeJoints() | ||
</pre> | </pre> | ||
Model Form: | Model Form: | ||
<pre> | |||
model = game.Workspace.Model | model = game.Workspace.Model | ||
model:MakeJoints() | model:MakeJoints() | ||
</pre> | </pre> | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 16:37, 11 January 2011
![]() | |
Returns | nil |
Description: | Creates a joint on any side of the object that has a surface ID that can make a joint. |
Member of: | BasePart |
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 |
Brick Form:
brick = game.Workspace.Brick brick:MakeJoints()
Model Form:
model = game.Workspace.Model model:MakeJoints()