control_rig_add_constraint
Adds parent or space constraints to Control Rig elements, defining hierarchy relationships for precise rig control. Specify child and parent elements, constraint type, weight, and transform handling to establish the desired linkage.
Instructions
Add a Control Rig hierarchy parent or available-space constraint.
Args: rig_path: Full Control Rig asset path child_name: Child element name parent_name: Parent/space element name child_type: CONTROL, BONE, or NULL parent_type: BONE, NULL, or CONTROL constraint_type: "parent" for weighted hierarchy parent, "space" for available space weight: Parent weight for parent constraints maintain_global_transform: Preserve child global transform when adding parent display_label: Optional label shown for a space/parent relationship save: Save the asset after editing
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: control_rig_add_constraint(rig_path="/Game/MCP_Test/Example", child_name="ExampleName", parent_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| weight | No | ||
| rig_path | Yes | ||
| child_name | Yes | ||
| child_type | No | CONTROL | |
| parent_name | Yes | ||
| parent_type | No | BONE | |
| display_label | No | ||
| constraint_type | No | parent | |
| maintain_global_transform | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |