build_camera_switcher_timeline
Create camera switching animation timelines for Godot scenes by defining camera paths and activation timestamps to produce multi-angle cinematic cuts.
Instructions
Camera Switcher Timeline Builder: Write an Animation resource block that toggles Camera3D.current at exact timestamps for multi-angle cinematic cuts.
Each switch dict must have:
'camera_path': NodePath to a Camera3D (e.g. 'CamA')
'activate_at': float timestamp in seconds
'deactivate_at': optional float timestamp to turn camera off
Args: scene_path: Absolute path to the .tscn scene file. anim_player_node: Name of the AnimationPlayer node in the scene. switches: List of camera switch event dicts. animation_name: Name for the generated animation clip. timeline_length: Total animation length in seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| switches | Yes | ||
| scene_path | Yes | ||
| animation_name | No | CameraTimeline | |
| timeline_length | No | ||
| anim_player_node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |