Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.ControlSurface Class Reference

A control surface is defined as an articulated region (flap) on an aero object that can be deflected to change the aerodynamic properties of the body. More...

Inheritance diagram for AerodynamicObjects.ControlSurface:

Public Types

enum  ControlSurfaceAxis
 

Public Member Functions

void OnValidate ()
 
void UpdateHinge ()
 
void UpdateAxes ()
 
float LiftEffectiveness ()
 Empirical function which determines how much the control surface changes the lift coefficient of the object. More...
 
float GetDeltaAlpha ()
 

Public Attributes

Vector3 forwardAxis = Vector3.forward
 Forward direction of the control surface. More...
 
Vector3 rotationAxis = Vector3.right
 Rotation axis of the control surface. More...
 
float surfaceChordRatio = 0.2f
 The ratio of the control surface's chord to the overall chord of the Aerodynamic Object (inclusive of the control surface). More...
 
Transform controlSurfaceHinge
 
Transform controlSurfaceGraphic
 
float deflectionAngle
 The deflection angle of the control surface. More...
 

Properties

ControlSurfaceAxis Axis [get, set]
 

Detailed Description

A control surface is defined as an articulated region (flap) on an aero object that can be deflected to change the aerodynamic properties of the body.

A typical example would be an elevator on the trailing edge of a tailplane which, when deflected, changes the lift on the tailplane. Control surfaces assume that the AeroObject they are controlling is attached to the same GameObject as they are.

Member Enumeration Documentation

◆ ControlSurfaceAxis

Member Function Documentation

◆ GetDeltaAlpha()

float AerodynamicObjects.ControlSurface.GetDeltaAlpha ( )

◆ LiftEffectiveness()

float AerodynamicObjects.ControlSurface.LiftEffectiveness ( )

Empirical function which determines how much the control surface changes the lift coefficient of the object.

(dimensionless)

Returns
Empirical scaling to be applied to the change in lift of a lifting body.

◆ OnValidate()

void AerodynamicObjects.ControlSurface.OnValidate ( )

◆ UpdateAxes()

void AerodynamicObjects.ControlSurface.UpdateAxes ( )

◆ UpdateHinge()

void AerodynamicObjects.ControlSurface.UpdateHinge ( )

Member Data Documentation

◆ controlSurfaceGraphic

Transform AerodynamicObjects.ControlSurface.controlSurfaceGraphic

◆ controlSurfaceHinge

Transform AerodynamicObjects.ControlSurface.controlSurfaceHinge

◆ deflectionAngle

float AerodynamicObjects.ControlSurface.deflectionAngle

The deflection angle of the control surface.

(radians)

◆ forwardAxis

Vector3 AerodynamicObjects.ControlSurface.forwardAxis = Vector3.forward

Forward direction of the control surface.

Surfaces are assumed to act at the rear of an object.

◆ rotationAxis

Vector3 AerodynamicObjects.ControlSurface.rotationAxis = Vector3.right

Rotation axis of the control surface.

Surfaces are assumed to act at the rear of an object.

◆ surfaceChordRatio

float AerodynamicObjects.ControlSurface.surfaceChordRatio = 0.2f

The ratio of the control surface's chord to the overall chord of the Aerodynamic Object (inclusive of the control surface).

This value is limited to half of the overall chord of the object, anything larger than this would be equivalent to the control surface acting in the opposite direction.

Property Documentation

◆ Axis

ControlSurfaceAxis AerodynamicObjects.ControlSurface.Axis
getset

The documentation for this class was generated from the following file: