add_constraint
Add various constraints (copy location, transforms, track to, IK) to an object, targeting another object for precise animation and rigging control.
Instructions
Tambah constraint (COPY_LOCATION/COPY_TRANSFORMS/TRACK_TO/IK/...).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"object_name": "<object_name>",
"target_name": "<target_name>"
},
"name": "add_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| influence | No | ||
| subtarget | No | ||
| object_name | Yes | ||
| target_name | Yes | ||
| constraint_type | No | COPY_LOCATION |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |