Opt-in vehicle-style navigation for moving through large models.

VehicleNavigationController keeps a current speed instead of applying instant walk steps. W/S accelerate and brake, A/D and the left/right arrow keys ramp into turns, and click-drag steers yaw/pitch like the procedural city vehicle demo. The camera rolls into turns like a bicycle or motorcycle. Space toggles flight mode: the vehicle detaches and lifts off, then can glide on its own momentum and softly land on a drive surface. It can also follow drive surfaces and block movement through obstacles using Scene raycasts.

Constructors

Properties

raycaster: SceneRaycaster

Raycaster used for drive-surface following and obstacle checks.

view: View

The View navigated by this controller.

Accessors

Methods