remove_ik_goal
Remove an IK goal from an IK Rig by name, saving the asset and detaching it from solvers and retarget chains. Idempotent: if absent, returns success without saving.
Instructions
Remove an IK goal from an IK Rig by name through the IK Rig controller (one undo transaction), then save the asset. Inverse of add_ik_goal: also detaches the goal from every solver's effector and clears it from any retarget chain that referenced it. Idempotent: removing a goal that isn't present is a success with removed:false, already_absent:true, saved:false and a note, and nothing is saved. A failed save makes success false, with saved=false and save_error.
Returns: { asset_path: string, goal_name: string, removed: bool, already_absent: bool, goal_count: int, saved: bool, save_error?: string, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_name | Yes | Name of the goal to remove | |
| ik_rig_path | Yes | Path to the UIKRigDefinition asset |