RigidConstraint
Creates a rigid connection between two Attachments or Bones.
Memory category | PhysicsParts |
---|
Member index 0
Removed member index 4
History | Member | |
---|---|---|
533 | Broken: bool | |
533 | DestructionEnabled: bool | |
533 | DestructionForce: float | |
533 | DestructionTorque: float |
Description
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 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 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.
History 12
- 533 Remove DestructionTorque
- 533 Remove DestructionForce
- 533 Remove DestructionEnabled
- 533 Remove Broken
- 506 Change Tags of RigidConstraint from [NotBrowsable] to []
- 505 Change Tags of Broken from [NotBrowsable] to [ReadOnly, NotReplicated, NotBrowsable]
- 505 Change CanLoad of Broken from true to false
- 504 Add DestructionTorque
- 504 Add DestructionForce
- 504 Add DestructionEnabled
- 504 Add Broken
- 504 Add RigidConstraint
Removed members 4
Broken
Type | Default | |
---|---|---|
bool |
Thread safety | ReadSafe |
---|---|
Category | Destruction |
Loaded/Saved | false/true |
DestructionEnabled
Type | Default | |
---|---|---|
bool |
Thread safety | ReadSafe |
---|---|
Category | Destruction |
Loaded/Saved | true |
History 2
- 533 Remove DestructionEnabled
- 504 Add DestructionEnabled
DestructionForce
Type | Default | |
---|---|---|
float |
Thread safety | ReadSafe |
---|---|
Category | Destruction |
Loaded/Saved | true |
History 2
- 533 Remove DestructionForce
- 504 Add DestructionForce
DestructionTorque
Type | Default | |
---|---|---|
float |
Thread safety | ReadSafe |
---|---|
Category | Destruction |
Loaded/Saved | true |
History 2
- 533 Remove DestructionTorque
- 504 Add DestructionTorque