Camera Mode: Fallback
Minimal global filter camera that ensures `pos` and `rot` are always defined. Acts as a safety net in the camera pipeline, running at order 0.6.
Minimal global filter camera that ensures pos and rot are always defined. Acts as a safety net in the camera pipeline, running at order 0.6.
Class API
| Method | Signature | Description |
|---|---|---|
C:init | () | Sets global, filter, hidden, runningOrder |
C:update | (data) | Sets default pos/rot if nil |
Properties
| Property | Value | Description |
|---|---|---|
isGlobal | true | Always exists (no vehicle needed) |
isFilter | true | Modifies existing data |
hidden | true | Not user-selectable |
runningOrder | 0.6 | Runs after most cameras, before final output |
Behavior
If data.res.pos is nil, sets it to data.pos (vehicle position).
If data.res.rot is nil, sets it to quatFromDir(data.pos) (look at origin).
This prevents NaN/crash scenarios when no other camera has set valid output.
Usage Examples
-- Never called directly; runs automatically every frame
-- Part of getRunningCamsOrder() pipelineSee Also
- Camera Mode: Autopoint - Related reference
- Camera Mode: Autozoom - Related reference
- Camera Mode: Big Map - Related reference
- Core Systems Guide - Guide
Camera Mode: External / Fan Camera
Cinematic external camera that automatically finds interesting viewpoints, pans, zooms, and switches angles. Features two modes: "fan" (handheld/spectator) and "TV" (smooth/broadcast).
Camera Mode: Free Camera
Detached free-fly camera with Newton physics for smooth movement. Supports keyboard/mouse/gamepad/3D spacemouse input, configurable smoothing, and manual zoom.