|
Aerodynamic Objects Core 2.0.0
|
Base class for arrows that are used to represent different vector values. More...
Classes | |
| class | Arrow |
Public Member Functions | |
| 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 | |
| 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... | |
Properties | |
| static GameObject | ArrowContainer [get] |
Base class for arrows that are used to represent different vector values.
|
pure virtual |
Remove any arrows when the class has been destroyed.
Implemented in AerodynamicObjects.BuoyancyArrow, AerodynamicObjects.DragArrow, AerodynamicObjects.LiftArrow, AerodynamicObjects.RotationalLiftArrow, AerodynamicObjects.Control.SimpleThrustArrow, AerodynamicObjects.UserDragArrow, AerodynamicObjects.WeightArrow, and AerodynamicObjects.WindArrow.
| void AerodynamicObjects.ArrowComponent.SetArrowPositionAndRotation | ( | Arrow | arrow, |
| float | length, | ||
| Vector3 | rootPosition, | ||
| Vector3 | direction | ||
| ) |
| void AerodynamicObjects.ArrowComponent.SetArrowPositionAndRotationFromVector | ( | Arrow | arrow, |
| Vector3 | vector, | ||
| Vector3 | rootPosition | ||
| ) |
| AeroObject AerodynamicObjects.ArrowComponent.TryGetAeroObject | ( | ) |
| float AerodynamicObjects.ArrowComponent.Diameter = 0.2f |
Width of the arrow.
(m)
| bool AerodynamicObjects.ArrowComponent.HeadAimsAtPoint |
Does the arrow point towards the point of action or away from it
| float AerodynamicObjects.ArrowComponent.HeadFractionOfLength = 0.25f |
The fraction of the arrow's length that is used to draw the head of the arrow.
| float AerodynamicObjects.ArrowComponent.MinimumLength = 0.01f |
If the arrow would be smaller than this length then it will not be drawn.
| float AerodynamicObjects.ArrowComponent.Offset = 0f |
Distance between the arrow head and the point of action
| float AerodynamicObjects.ArrowComponent.Sensitivity = 1f |
Scaling of the arrow length with the value it represents.
A larger sensitivity will give longer arrows.
| bool AerodynamicObjects.ArrowComponent.UseCoefficientForScale |
Use the coefficient for the aerodynamic force to scale the length of the arrow?
|
staticget |