NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Struct AircraftInputStates

    Stores input states for the aircraft. Allows input to be copied between aircraft.

    Namespace: NWH.Aerodynamics.AircraftController.Input
    Assembly: NWH.Aerodynamics.dll
    Syntax
    [Serializable]
    public struct AircraftInputStates

    Fields

    | Edit this page View Source

    ailerons

    Aileron deflection ranging from -1 (full left roll) to +1 (full right roll).

    Declaration
    [Range(-1, 1)]
    public float ailerons
    Field Value
    Type Description
    float
    | Edit this page View Source

    aileronsTrimLeft

    Left aileron trim adjustment input. Used to reduce control pressure during asymmetric flight.

    Declaration
    public bool aileronsTrimLeft
    Field Value
    Type Description
    bool
    | Edit this page View Source

    aileronsTrimRight

    Right aileron trim adjustment input. Used to reduce control pressure during asymmetric flight.

    Declaration
    public bool aileronsTrimRight
    Field Value
    Type Description
    bool
    | Edit this page View Source

    brakes

    Common brake input. Applies braking force to all landing gear wheels.

    Declaration
    public bool brakes
    Field Value
    Type Description
    bool
    | Edit this page View Source

    brakesLeft

    Left brake input. Applies braking force to left landing gear for differential braking.

    Declaration
    public bool brakesLeft
    Field Value
    Type Description
    bool
    | Edit this page View Source

    brakesRight

    Right brake input. Applies braking force to right landing gear for differential braking.

    Declaration
    public bool brakesRight
    Field Value
    Type Description
    bool
    | Edit this page View Source

    elevator

    Elevator deflection ranging from -1 (full down/nose down) to +1 (full up/nose up).

    Declaration
    [Range(-1, 1)]
    public float elevator
    Field Value
    Type Description
    float
    | Edit this page View Source

    elevatorTrimDown

    Downward elevator trim adjustment input. Reduces control stick pressure during cruise.

    Declaration
    public bool elevatorTrimDown
    Field Value
    Type Description
    bool
    | Edit this page View Source

    elevatorTrimUp

    Upward elevator trim adjustment input. Reduces control stick pressure during cruise.

    Declaration
    public bool elevatorTrimUp
    Field Value
    Type Description
    bool
    | Edit this page View Source

    engineStartCommon

    Engine start input for all engines. Initiates engine start sequence.

    Declaration
    public bool engineStartCommon
    Field Value
    Type Description
    bool
    | Edit this page View Source

    engineStopCommon

    Engine stop input for all engines. Shuts down running engines.

    Declaration
    public bool engineStopCommon
    Field Value
    Type Description
    bool
    | Edit this page View Source

    flapsExtend

    Incremental flap extension input. Extends flaps by one detent for increased lift.

    Declaration
    public bool flapsExtend
    Field Value
    Type Description
    bool
    | Edit this page View Source

    flapsExtendFully

    Full flap extension input. Extends flaps to maximum position for landing.

    Declaration
    public bool flapsExtendFully
    Field Value
    Type Description
    bool
    | Edit this page View Source

    flapsRetract

    Incremental flap retraction input. Retracts flaps by one detent for reduced drag.

    Declaration
    public bool flapsRetract
    Field Value
    Type Description
    bool
    | Edit this page View Source

    flapsRetractFully

    Full flap retraction input. Retracts flaps to minimum position for cruise.

    Declaration
    public bool flapsRetractFully
    Field Value
    Type Description
    bool
    | Edit this page View Source

    landingGear

    Landing gear toggle input. Extends or retracts landing gear based on current state.

    Declaration
    public bool landingGear
    Field Value
    Type Description
    bool
    | Edit this page View Source

    landingLights

    Landing lights toggle input. Controls high-intensity forward-facing lights.

    Declaration
    public bool landingLights
    Field Value
    Type Description
    bool
    | Edit this page View Source

    navigationLights

    Navigation lights toggle input. Controls position and anti-collision lights.

    Declaration
    public bool navigationLights
    Field Value
    Type Description
    bool
    | Edit this page View Source

    parkingBrake

    Parking brake toggle input. Locks landing gear brakes when stationary.

    Declaration
    public bool parkingBrake
    Field Value
    Type Description
    bool
    | Edit this page View Source

    propPitch

    Propeller pitch control value for variable-pitch propellers.

    Declaration
    public float propPitch
    Field Value
    Type Description
    float
    | Edit this page View Source

    propPitchDecrease

    Incremental propeller pitch decrease input. Decreases blade angle for finer pitch.

    Declaration
    public bool propPitchDecrease
    Field Value
    Type Description
    bool
    | Edit this page View Source

    propPitchIncrease

    Incremental propeller pitch increase input. Increases blade angle for coarser pitch.

    Declaration
    public bool propPitchIncrease
    Field Value
    Type Description
    bool
    | Edit this page View Source

    rudder

    Rudder deflection ranging from -1 (full left yaw) to +1 (full right yaw).

    Declaration
    [Range(-1, 1)]
    public float rudder
    Field Value
    Type Description
    float
    | Edit this page View Source

    rudderTrimLeft

    Left rudder trim adjustment input. Compensates for asymmetric thrust or crosswinds.

    Declaration
    public bool rudderTrimLeft
    Field Value
    Type Description
    bool
    | Edit this page View Source

    rudderTrimRight

    Right rudder trim adjustment input. Compensates for asymmetric thrust or crosswinds.

    Declaration
    public bool rudderTrimRight
    Field Value
    Type Description
    bool
    | Edit this page View Source

    smokeSystem

    Smoke system toggle input. Activates aerobatic smoke system.

    Declaration
    public bool smokeSystem
    Field Value
    Type Description
    bool
    | Edit this page View Source

    spoilers

    Spoiler deployment input. Deploys spoilers to disrupt lift and increase descent rate.

    Declaration
    public bool spoilers
    Field Value
    Type Description
    bool
    | Edit this page View Source

    throttleCommon

    Common throttle position ranging from 0 (idle) to 1 (full power) for all engines.

    Declaration
    [Range(0, 1)]
    public float throttleCommon
    Field Value
    Type Description
    float
    | Edit this page View Source

    throttleDecrease

    Incremental throttle decrease input. Gradually decreases engine power.

    Declaration
    public bool throttleDecrease
    Field Value
    Type Description
    bool
    | Edit this page View Source

    throttleFull

    Throttle full input. Sets throttle to maximum power position.

    Declaration
    public bool throttleFull
    Field Value
    Type Description
    bool
    | Edit this page View Source

    throttleIdle

    Throttle idle input. Sets throttle to minimum power position.

    Declaration
    public bool throttleIdle
    Field Value
    Type Description
    bool
    | Edit this page View Source

    throttleIncrease

    Incremental throttle increase input. Gradually increases engine power.

    Declaration
    public bool throttleIncrease
    Field Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Reset()

    Declaration
    public void Reset()
    | Edit this page View Source

    ResetOnFixedUpdate()

    Reset inputs that are used as triggers and should be processed once.

    Declaration
    public void ResetOnFixedUpdate()
    | Edit this page View Source

    ResetOnUpdate()

    Reset inputs that are constantly used.

    Declaration
    public void ResetOnUpdate()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics