Constructor parameters for AircraftController.

interface AircraftControllerParams {
    bindKeyboard?: boolean;
    config?: AircraftControllerConfig;
    exhaust?: AircraftExhaustTrail;
    objectFilter?: (objectId: string) => boolean;
    rootTransform: SceneTransform;
    suspendViewController?: ViewController;
    taskName?: string;
}

Properties

bindKeyboard?: boolean

Whether to bind number and - / + camera keys. Defaults to true.

Optional flight, camera and visual configuration.

Optional exhaust trail to update from the controller state.

objectFilter?: (objectId: string) => boolean

Collision/object filter. Return true for non-aircraft scene objects.

rootTransform: SceneTransform

Root transform that the controller rewrites each frame.

suspendViewController?: ViewController

ViewController to suspend while vehicle navigation owns input.

taskName?: string

SDKTask name used for the repeating animation task.