Log inGet started
World

Chairshift GP

Branchmain
Branchesmain
Commit5bdfb0c2a6

README.md

ChaseCamera

A chase camera behavior for Voxel Raceway. Add it to the active camera entity with target set to the player kart's entity id; it trails the kart and eases both its position and its look-at through corners.

Fields

  • target — entity id of the kart to follow (falls back to Camera.follow).
  • distance / height — rest offset behind / above the kart.
  • lookHeight / lookAhead — look-at point relative to the kart.
  • stiffness — position follow speed (higher = snappier).
  • boost (0..1) — driven each frame by the race manager; widens FOV and pulls the camera back under boost.
  • baseFov / boostFov — resting and full-boost vertical FOV (degrees).

It runs at a high execution order so it samples the kart pose after the kart has moved this frame, and writes the camera transform last.