|
Aerodynamic Objects Core 2.0.0
|
Creates an arrow with scale and direction proportional to the lift force generated by an AeroObject's Lift Model. More...
Public Member Functions | |
| override void | CleanUp () |
| Remove any arrows when the class has been destroyed. More... | |
Public Member Functions inherited from AerodynamicObjects.ArrowComponent | |
| abstract void | CleanUp () |
| Remove any arrows when the class has been destroyed. More... | |
| AeroObject | TryGetAeroObject () |
| void | SetArrowPositionAndRotation (Arrow arrow, float length, Vector3 rootPosition, Vector3 direction) |
| void | SetArrowPositionAndRotationFromVector (Arrow arrow, Vector3 vector, Vector3 rootPosition) |
Public Attributes | |
| Color | colour = new Color(78f / 255f, 224f / 255f, 62f / 255f, 0.5f) |
Public Attributes inherited from AerodynamicObjects.ArrowComponent | |
| float | Diameter = 0.2f |
| Width of the arrow. More... | |
| float | Sensitivity = 1f |
| Scaling of the arrow length with the value it represents. More... | |
| float | Offset = 0f |
| Distance between the arrow head and the point of action More... | |
| float | HeadFractionOfLength = 0.25f |
| The fraction of the arrow's length that is used to draw the head of the arrow. More... | |
| float | MinimumLength = 0.01f |
| If the arrow would be smaller than this length then it will not be drawn. More... | |
| bool | HeadAimsAtPoint |
| Does the arrow point towards the point of action or away from it More... | |
| bool | UseCoefficientForScale |
| Use the coefficient for the aerodynamic force to scale the length of the arrow? More... | |
Additional Inherited Members | |
Properties inherited from AerodynamicObjects.ArrowComponent | |
| static GameObject | ArrowContainer [get] |
Creates an arrow with scale and direction proportional to the lift force generated by an AeroObject's Lift Model.
|
virtual |
Remove any arrows when the class has been destroyed.
Implements AerodynamicObjects.ArrowComponent.
| Color AerodynamicObjects.LiftArrow.colour = new Color(78f / 255f, 224f / 255f, 62f / 255f, 0.5f) |