add_rigvm_node
Add rig-unit nodes like TwoBoneIKSimple or AimBone to a Control Rig's RigVM solver graph to script animation rig logic without manual graph editing.
Instructions
Add a rig-unit node to a Control Rig's RigVM solver graph
Returns: { asset_path: string, node_name: string, node_title: string, node_type: string, pin_count: int, node_count: int, saved: bool, already_exists: bool, save_error: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Optional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk. | |
| position | No | Optional [x, y] editor graph position | |
| node_name | No | Optional explicit node name | |
| node_type | Yes | BeginExecution, PrepareForExecution, GetTransform, SetTransform, AimBone, or TwoBoneIKSimple | |
| control_rig_path | Yes | Path to the UControlRigBlueprint asset |