Class AileratorControlSurface
Hybrid control surface combining aileron and elevator functionality, typically used on tailless or flying wing aircraft where pitch and roll control are provided by the same surfaces.
Inheritance
Inherited Members
Namespace: NWH.Aerodynamics.AircraftController.ControlSurfaces
Assembly: NWH.Aerodynamics.dll
Syntax
[Serializable]
public class AileratorControlSurface : ControlSurface
Remarks
Ailerators (also known as elevons) mix pitch and roll inputs based on the elevatorAileronBias setting. They can optionally function as flaps for high-lift operations during takeoff and landing. Commonly found on delta-wing aircraft, flying wings, and some tailless designs where conventional separate control surfaces are not present.
Fields
| Edit this page View SourceelevatorAileronBias
Adjusts the mixing ratio between elevator and aileron inputs (0-1 range). Values closer to 0 favor elevator (pitch) control, values closer to 1 favor aileron (roll) control.
Declaration
[Range(0, 1)]
[Tooltip(" Changes influence of elevator and aileron inputs on the ailerator.\r\n To use ailerator as mostly elevator use value towards 0 and vice versa.")]
public float elevatorAileronBias
Field Value
| Type | Description |
|---|---|
| float |
Remarks
At 0.5, both inputs have equal influence. Adjust based on aircraft design: delta wings typically use 0.4-0.6, while flying wings may need 0.3-0.5 for better pitch authority.
flapPosition
Current flap step/position in range of 0 to steps - 1.
Declaration
[Tooltip("Current flap step/position in range of 0 to steps - 1.")]
public int flapPosition
Field Value
| Type | Description |
|---|---|
| int |
flapSteps
Number of steps between fully retracted and fully extended flap positions.
Declaration
[Range(1, 5)]
[Tooltip("Number of steps between fully retracted and fully extended flap positions.")]
public int flapSteps
Field Value
| Type | Description |
|---|---|
| int |
hasFlap
Enables flap functionality allowing the ailerator to deflect symmetrically for increased lift. When enabled, flap inputs will extend both surfaces together regardless of aileron input.
Declaration
[Tooltip("Determines if ailerator can also behave as a flap.")]
public bool hasFlap
Field Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceAwake()
Declaration
public override void Awake()
Overrides
| Edit this page View SourceFixedUpdate()
Declaration
public override void FixedUpdate()
Overrides
| Edit this page View SourceReset()
Declaration
public override void Reset()