generate_bezier_camera_path
Generates a Bezier camera path from world-space waypoints and writes Path3D + Curve3D nodes to a .tscn file for cinematic moves.
Instructions
Bezier Camera Path Generator: Calculate Catmull-Rom bezier handles from world-space waypoints and serialize them as Path3D + Curve3D node blocks in a .tscn file. Supports arc pans, dolly zooms, hyper-fast cinematic swoops, and orbital moves.
Each waypoint dict must have:
'position': [x, y, z] world position
'tilt': optional tilt angle in radians (default 0.0)
Args: scene_path: Absolute path to the .tscn scene file. path_node_name: Name for the Path3D node (e.g. 'CameraRail'). waypoints: List of waypoint dicts. add_path_follow: If True, add a PathFollow3D child. add_camera: If True, add a Camera3D child under PathFollow3D. tension: Tension / speed-curve multiplier (-1.0 to 1.0, default 0.0). Use negative values (e.g. -0.5) for wide sweeping cinematic moves; positive values (e.g. 0.5) for crisp, tight corners.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tension | No | ||
| waypoints | Yes | ||
| add_camera | No | ||
| scene_path | Yes | ||
| path_node_name | Yes | ||
| add_path_follow | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |