constraint_look_at
Add a LookAt constraint so an object always faces its target. Optionally set an up vector and preserve initial orientation.
Instructions
给对象加 LookAt 约束,使其始终朝向 target。可选 upNode 定上方向,keepOffset 保留初始朝向。 [English] Add a LookAt constraint so the object always faces target. Optional upNode sets the up direction; keepOffset preserves the initial orientation.
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": {
"target": "<target>"
},
"name": "constraint_look_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | 朝向目标对象名。 | Look-at target object name. | |
| upNode | No | 上方向参考对象名(可选)。 | Up-vector reference object (optional). | |
| objects | No | 被约束的对象名列表;省略则用当前选择。 | Constrained objects; omit for the current selection. | |
| keepOffset | No | true=保留初始相对朝向。 | true=keep the initial relative orientation. |