A 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.
When creating a RigidConstraint using Studio's Constraint button, the tool behaves differently depending on whether you click on existing BaseParts, Attachments, or Bones after the tool is activated:
- Clicking on an existing BasePart creates a new Attachment upon it as the intended RigidConstraint.Attachment0 or RigidConstraint.Attachment1.
- Clicking on an existing Attachment or Bone uses that instance as the intended RigidConstraint.Attachment0 or RigidConstraint.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.