|
Aerodynamic Objects Core 2.0.0
|
A simple thrust actuator which applies a thrust force directly proportional to the input signal provided. More...
Public Attributes | |
| Rigidbody | rb |
| Vector3 | thrustDirection = Vector3.forward |
| Vector3 | thrustVector |
Public Attributes inherited from AerodynamicObjects.Control.Actuator | |
| 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 |
Additional Inherited Members | |
Public Member Functions inherited from AerodynamicObjects.Control.Actuator | |
| 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... | |
A simple thrust actuator which applies a thrust force directly proportional to the input signal provided.
This is considered simple as most thrusters will produce a force which is also proportional to their velocity as they are generally constrained by their power output. Propeller thrusters also produce a reaction torque which is not included in this simplified model.
| Rigidbody AerodynamicObjects.Control.SimpleThruster.rb |
| Vector3 AerodynamicObjects.Control.SimpleThruster.thrustDirection = Vector3.forward |
| Vector3 AerodynamicObjects.Control.SimpleThruster.thrustVector |