|
Aerodynamic Objects Core 2.0.0
|
A drag model which uses drag coefficients provided, instead of the default drag model's method of approximating the drag coefficients based on the object's geometry. More...
Public Member Functions | |
| AerodynamicLoad | GetAerodynamicLoad (AeroObject ao) |
| Compute the aerodynamic load acting on the aerodynamic object. More... | |
| void | UpdateDimensionValues (AeroObject ao) |
| Calculate and store any values which only depend on the object's dimensions. More... | |
| AerodynamicLoad | GetAerodynamicLoad (AeroObject ao) |
| Compute the aerodynamic load acting on the aerodynamic object. More... | |
| void | UpdateDimensionValues (AeroObject ao) |
| Calculate and store any values which only depend on the object's dimensions. More... | |
Public Attributes | |
| Vector3 | forwardDragCoefficients = Vector3.one |
| Drag coefficients for each axis when the flow direction is 180 degress to that axis. More... | |
| Vector3 | reverseDragCoefficients = Vector3.one |
| Drag coefficients for each axis when the flow direction is aligned with that axis. More... | |
| float | CD |
A drag model which uses drag coefficients provided, instead of the default drag model's method of approximating the drag coefficients based on the object's geometry.
| AerodynamicLoad AerodynamicObjects.Aerodynamics.UserSuppliedDragModel.GetAerodynamicLoad | ( | AeroObject | ao | ) |
Compute the aerodynamic load acting on the aerodynamic object.
| ao | The aerodynamic object we want to compute the aerodynamic load for. |
Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.
| void AerodynamicObjects.Aerodynamics.UserSuppliedDragModel.UpdateDimensionValues | ( | AeroObject | ao | ) |
Calculate and store any values which only depend on the object's dimensions.
This reduces overhead for objects whose dimensions don't change often.
| ao | The aero object we are using for calculations. |
Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.
| float AerodynamicObjects.Aerodynamics.UserSuppliedDragModel.CD |
| Vector3 AerodynamicObjects.Aerodynamics.UserSuppliedDragModel.forwardDragCoefficients = Vector3.one |
Drag coefficients for each axis when the flow direction is 180 degress to that axis.
| Vector3 AerodynamicObjects.Aerodynamics.UserSuppliedDragModel.reverseDragCoefficients = Vector3.one |
Drag coefficients for each axis when the flow direction is aligned with that axis.