1.5 KiB
| title | description |
|---|---|
| Rigid | RigidConstraint connects two attachments with zero offset. |
A Class.RigidConstraint connects two Class.Attachment|Attachments or Class.Bone|Bones and ensures they stay in the same relative position/orientation to each other. This flexibility gives it additional functionality beyond Class.WeldConstraint, such as attaching accessories to Class.Attachment|Attachments on a character rig.
When creating a Class.RigidConstraint using Studio's Constraint button, the tool behaves differently depending on whether you click on existing Class.BasePart|BaseParts, Class.Attachment|Attachments, or Class.Bone|Bones after the tool is activated:
- Clicking on an existing
Class.BasePartcreates a newClass.Attachmentupon it as the intendedClass.RigidConstraint.Attachment0orClass.RigidConstraint.Attachment1. - Clicking on an existing
Class.AttachmentorClass.Boneuses that instance as the intendedClass.RigidConstraint.Attachment0orClass.RigidConstraint.Attachment1.
Following the second valid click, a new Class.RigidConstraint is created to connect the two new attachments. If either the first or second click is not made on a Class.BasePart, Class.Attachment, or Class.Bone, the workflow is canceled and no constraint is created.