Class
RigidConstraint
Creates a rigid connection between two Attachments or
Bones.
RigidConstraint connects two Attachments or
Bones and ensures they stay in the same relative
position/orientation to each other. This flexibility gives it additional
functionality beyond WeldConstraint, such as attaching accessories to
Attachments on a character rig.
The fastest way to create this constraint is by selecting Rigid Constraint through Studio's Create menu in the toolbar's Model tab.
Note that this tool behaves differently depending on whether you click on
existing BaseParts, Attachments, or
Bones after the tool is activated:
- Clicking on an existing
BasePartcreates a newAttachmentupon it as the intendedRigidConstraint.Attachment0orRigidConstraint.Attachment1. - Clicking on an existing
AttachmentorBoneuses that instance as the intendedRigidConstraint.Attachment0orRigidConstraint.Attachment1.
Following the second valid click, a new RigidConstraint is created to
connect the two new attachments. If either the first or second click is
not made on a BasePart, Attachment, or Bone, the
workflow is canceled and no constraint is created.
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