flyToObject
Move the camera to focus on a specific 3D object in live scenes. Control distance and animation duration for precise viewing in Three.js, A-Frame, or Babylon.js environments.
Instructions
Smoothly move the camera to look at an object.
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": {
"id": "<id>"
},
"name": "flyToObject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the object to fly to | |
| distance | No | Distance to maintain from the object (default 3) | |
| duration | No | Animation duration in seconds (default 1) |