Class
JointInstance
NotCreatable
The base class for joints.
JointInstance is the base class for joints such as Welds and
Motors.
Weld, WeldConstraint, Motor, and Motor6D all
combine multiple parts into the same
assembly. Every assembly has a root part
(BasePart:GetRootPart()) and when
C0/C1 of a
JointInstance is modified, the root part will stay where it was.
Welds do not have any directionality. You can imagine rigid joints forming a tree branching down from the root part. All the parts down the tree from root will move, and their welded "children" in this tree will move with them.
Properties 7#
Activeboolean | Determines if the joint is currently active in the world.ReadSafeReadOnlyNotReplicated |
C0CFrame | Determines how the offset point is attached to
JointInstance.Part0.ReadSafe |
C1CFrame | Subtracted from the C0 property to create an
offset point for Part1.ReadSafe |
Enabledboolean | Sets whether the joint is active or not.ReadSafe |
Part0BasePart | The first BasePart that the joint connects.ReadSafe |
Part1BasePart | The second BasePart that the joint connects.ReadSafe |
part1BasePart | ReadSafeDeprecatedHiddenNotReplicated |
Active: boolean#
ReadOnlyNotReplicatedReadSafe
This property determines if the joint is currently active in the world.
If the JointInstance is not in Workspace or
JointsService, or one of its parts is not in Workspace,
the joint will be inactive.
Rigid joints like Weld, Snap, WeldConstraint,
Motor, or Motor6D may also be disabled due to conflicts
with other rigid joints, such as joints between the same two parts or
indirect cycles in the weld graph. Joints disabled this way may be
re-enabled later when another joint or part is added or removed.
C0: CFrame#
ReadSafe
C1: CFrame#
ReadSafe
Enabled: boolean#
ReadSafe
This property sets whether the joint is active or not.
When this property is set to true and the joint's
Part0 and Part1
properties are set, the joint will ensure that its two parts will be
connected and behave according to joint type.
See also Active which determines if the joint
is currently active in the world.
Part0: BasePart#
ReadSafe
This property indicates the first BasePart that the joint
connects.
Part1: BasePart#
ReadSafe
This property indicates the second BasePart that the joint
connects.
part1: BasePart#
HiddenNotReplicatedDeprecatedReadSafeDeprecated
Deprecated. This deprecated property is a variant of Part1
which should be used instead.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild
Subclasses 8#
DynamicRotate, Glue, ManualSurfaceJointInstance, Motor, Rotate, Snap, VelocityMotor, Weld