Animate camera orbit
orbit_cameraKeyframe a camera orbit around a rig null by animating rotation over a set duration, angle, and axis, creating the rig and camera automatically when none exist.
Instructions
Animate a camera orbit by keyframing the rig null's rotation: 'degrees' (default 360) over 'duration' (default to comp end) from 'startTime' (default 0) around axis 'y' (default), 'x' or 'z'. Uses the camera's parent null if it has one, otherwise builds a rig (create_camera_rig) around the camera's point of interest; with no camera in the comp it creates rig + camera.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "orbit_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rig | No | Rig null (or camera) to animate. | |
| axis | No | Rotation axis of the null (default 'y' = horizontal orbit). | |
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| ease | No | Keyframe easing (default linear). | |
| loop | No | Add loopOut('offset') so the orbit continues forever. | |
| camera | No | Camera to orbit (default: first camera in the comp, or a new one). | |
| center | No | Orbit center when a rig has to be created. | |
| degrees | No | Orbit angle in degrees (default 360; negative = other direction). | |
| distance | No | Camera distance when a new camera has to be created. | |
| duration | No | Orbit duration (seconds, '90f'...). Default: until the comp end. | |
| startTime | No | Start time (default 0). |