control_rig_add_control
Add a custom animation control to a Control Rig hierarchy, defining its type, shape, transform, and parent for rigging workflows.
Instructions
Add an animation control to a Control Rig hierarchy.
Args: rig_path: Full Control Rig asset path control_name: New control element name parent_name: Optional parent element name parent_type: BONE, NULL, or CONTROL control_type: EULER_TRANSFORM, POSITION, ROTATOR, FLOAT, BOOL, SCALE, or VECTOR2D shape_name: Control shape name from the Control Rig shape library shape_color: Optional RGBA list, 0-1 floats location: Optional XYZ default location rotation: Optional Pitch/Yaw/Roll default rotation scale: Optional XYZ default scale default_float: Default value for FLOAT/SCALE_FLOAT controls default_bool: Default value for BOOL controls save: Save the asset after editing
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: control_rig_add_control(rig_path="/Game/MCP_Test/Example", control_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| scale | No | ||
| location | No | ||
| rig_path | Yes | ||
| rotation | No | ||
| shape_name | No | Circle | |
| parent_name | No | ||
| parent_type | No | BONE | |
| shape_color | No | ||
| control_name | Yes | ||
| control_type | No | EULER_TRANSFORM | |
| default_bool | No | ||
| default_float | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |