add_ik_rig_retarget_chain
Add a retarget chain to an IK Rig asset to map a bone range for motion transfer between skeletons.
Instructions
Add a named retarget chain to an existing IK Rig asset.
Retarget chains map a contiguous range of bones (e.g. "Spine" from pelvis → chest, or "LeftArm" from shoulder → hand) so the IK Retargeter knows how to transfer motion from source to target.
Call this after create_ik_rig when auto_generate_chains=False, or to add extra chains the auto-generator missed.
Args: ik_rig_name: Asset name (e.g. "IKR_MyCharacter") ik_rig_path: Content folder (e.g. "/Game/Animation/IKRigs") chain_name: Logical name for the chain (e.g. "Spine", "LeftArm") start_bone: Root bone of the chain (e.g. "spine_01") end_bone: Leaf bone of the chain (e.g. "spine_05") ik_goal_name: Optional IK goal name to attach to the chain end bone
Returns: dict with keys: success, chain_name, message
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_ik_rig_retarget_chain(ik_rig_name="ExampleName", ik_rig_path="/Game/MCP_Test/Example", chain_name="ExampleName", start_bone="Example", end_bone="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_bone | Yes | ||
| chain_name | Yes | ||
| start_bone | Yes | ||
| ik_rig_name | Yes | ||
| ik_rig_path | Yes | ||
| ik_goal_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |