Creates an aircraft controller for a View.
View whose camera will track the aircraft.
Root transform, optional exhaust trail, input binding and flight/camera configuration.
ReadonlysdkUnderlying SDK vehicle navigation controller.
ReadonlystateMutable physical, visual and camera state.
ReadonlytypeStable controller type string for diagnostics and app-level routing.
ReadonlyupdateUpdate loop implementation. Currently always "sdk-task".
ReadonlyvehicleProxy View passed to VehicleNavigationController.
Moves the active exterior camera closer or farther from the aircraft.
No-op while the cockpit preset is active. Keyboard bindings call this for
- and +.
-1 to move closer, 1 to move farther.
Stops updates, unbinds keyboard handlers and destroys the underlying vehicle navigation controller.
Switches the View camera to one of the built-in aircraft presets.
Camera preset to activate.
Advances the aircraft one frame.
This is normally called by the controller's internal repeating SDKTask. Call it manually only when integrating with a custom task lifecycle.
Drives a SceneModel transform as an aircraft and keeps a View camera attached to the aircraft.
The controller adapts VehicleNavigationController to aircraft-style flight. It owns a lightweight proxy View for the SDK vehicle controller, then maps that proxy camera state into:
A repeating SDKTask is created during construction. Call AircraftController.destroy when the aircraft should stop updating.
Example: Basic controller
Example: Switch camera presets