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.
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) |