Log inGet started
World

Torque Valley: Driving, Drift and Crash Sandbox

README.md

HeliCam

A helicopter camera behaviour for a car: set it as a Camera's behavior (or use DriveCam's heli mode) with Camera.follow on the car. The camera hangs height metres above and distance out from the car at angle degrees round from its nose, drifting slowly either side (drift, driftPeriod), trails the car's heading with a lag (headingLag) so a turn swings the shot round smoothly, and looks down on it through a long lens. It follows where the car is drawn.

camera.behavior = asset.ref("driveCams.HeliCam", "component")
camera.follow = car