|
Aerodynamic Objects Core 2.0.0
|
A base actuator class which is used to create any controllable components. More...
Public Member Functions | |
| virtual void | UpdateValue (float deltaTime) |
| virtual void | ApplyControlSignal (float signal) |
| float | GetScaledInput (float input) |
| Scales the input linearly such that -1 becomes the min travel of the actuator and +1 becomes the max travel. More... | |
| virtual Vector3 | Position () |
| Used for drawing the actuator handles in the unity editor More... | |
Public Attributes | |
| string | ActuatorName = "Actuator" |
| The display name for the actuator. More... | |
| float | InputValue = 0f |
| Input Value is the target provided by a control input. More... | |
| float | TargetValue = 0f |
| Target Value is the processed input value, usually clamped to be between min and max. More... | |
| float | CurrentValue = 0f |
| The current value of the controlled object. More... | |
| float | ValueRate = 10f |
| The maximum rate of change of the controlled value. More... | |
| float | MinValue = -15f |
| float | MaxValue = 15f |
A base actuator class which is used to create any controllable components.
At the moment this will be overkill, however, it paves the way for more complex control systems in future updates.
|
virtual |
| float AerodynamicObjects.Control.Actuator.GetScaledInput | ( | float | input | ) |
Scales the input linearly such that -1 becomes the min travel of the actuator and +1 becomes the max travel.
| input | Input signal to be scaled |
|
virtual |
Used for drawing the actuator handles in the unity editor
|
virtual |
| string AerodynamicObjects.Control.Actuator.ActuatorName = "Actuator" |
The display name for the actuator.
| float AerodynamicObjects.Control.Actuator.CurrentValue = 0f |
The current value of the controlled object.
| float AerodynamicObjects.Control.Actuator.InputValue = 0f |
Input Value is the target provided by a control input.
| float AerodynamicObjects.Control.Actuator.MaxValue = 15f |
| float AerodynamicObjects.Control.Actuator.MinValue = -15f |
| float AerodynamicObjects.Control.Actuator.TargetValue = 0f |
Target Value is the processed input value, usually clamped to be between min and max.
| float AerodynamicObjects.Control.Actuator.ValueRate = 10f |
The maximum rate of change of the controlled value.