Create camera orbit rig
create_camera_rigBuilds a 3D null camera rig in After Effects by parenting a camera to a control null, enabling orbit, pan, and dolly moves around a chosen center point.
Instructions
Create a 3D null 'Camera Control' at the comp center (or 'center') and parent a camera to it, so rotating the null orbits the camera around that point, moving it pans and the camera's Z position dollies. Creates a new one-node camera at 'distance' (default = zoom) unless 'camera' names an existing camera. Returns both layers.
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": "create_camera_rig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Name of the new camera (default 'Rig Camera'). | |
| zoom | No | Zoom in pixels (overrides preset). | |
| camera | No | Existing camera to rig. Omit to create a new one-node camera. | |
| center | No | Orbit center [x,y,z] (default comp center, z=0). | |
| preset | No | Lens focal length in mm (presets 15, 20, 24, 28, 35, 50, 80, 135, 200 or any number; '35mm' also works). Zoom = compWidth * mm / 36 (36 mm film). Default 50. | |
| rigName | No | Name of the control null (default 'Camera Control'). | |
| distance | No | Camera distance from the center in px (default = zoom). |