Joints: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NecroBumpist No edit summary |
>NXTBoy No edit summary |
||
Line 1: | Line 1: | ||
A '''joint''', called a "connection" while a game is loading, is something that connects two parts together. Common types of joints are [[Weld]]s, [[Snap]]s, and [[Hinge]]s. Joints are represented using a [[JointInstance]] object, which has four important properties: C0, C1, Part0, and Part1. | |||
== Automatic creation == | |||
== How joints work == | |||
weld.Part1.CFrame == weld.Part0.CFrame * weld.C0 * weld.C1:inverse() |
Revision as of 17:07, 15 January 2012
A joint, called a "connection" while a game is loading, is something that connects two parts together. Common types of joints are Welds, Snaps, and Hinges. Joints are represented using a JointInstance object, which has four important properties: C0, C1, Part0, and Part1.
Automatic creation
How joints work
weld.Part1.CFrame == weld.Part0.CFrame * weld.C0 * weld.C1:inverse()