This module wraps viewing!vehicleNavigation.VehicleNavigationController
with aircraft-specific pose mapping, camera presets, cockpit/exterior view
controls, exhaust trail geometry, and optional afterburner visuals. It is
intended for demos and interactive viewers that need a flyable model.
The controller drives a caller-owned SceneTransform. Put the aircraft model's meshes under that transform, then
create an AircraftController for the active View. The controller
updates the transform each animation tick and keeps the View camera tracking
the vehicle.
Controls
When keyboard binding is enabled, the controller reserves these camera keys:
0: trailing chase camera
1: left exterior camera
2: right exterior camera
3: front exterior camera
4: top camera
5: top trailing camera
6: rear wide camera
7: cockpit camera
- / +: move the active exterior camera closer / farther
Movement input is handled by the underlying vehicle navigation controller.
xeokit Aircraft Simulation
Aircraft-style vehicle control for a View.
This module wraps viewing!vehicleNavigation.VehicleNavigationController with aircraft-specific pose mapping, camera presets, cockpit/exterior view controls, exhaust trail geometry, and optional afterburner visuals. It is intended for demos and interactive viewers that need a flyable model.
The controller drives a caller-owned SceneTransform. Put the aircraft model's meshes under that transform, then create an AircraftController for the active View. The controller updates the transform each animation tick and keeps the View camera tracking the vehicle.
Controls
When keyboard binding is enabled, the controller reserves these camera keys:
0: trailing chase camera1: left exterior camera2: right exterior camera3: front exterior camera4: top camera5: top trailing camera6: rear wide camera7: cockpit camera-/+: move the active exterior camera closer / fartherMovement input is handled by the underlying vehicle navigation controller.
Basic Usage
Exhaust and Afterburner
Cockpit Camera