Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.BuoyancyArrow Class Reference

Creates an arrow with scale and direction proportional to the buoyancy force generated by an AeroObject's Buoyancy Model. More...

Inheritance diagram for AerodynamicObjects.BuoyancyArrow:
AerodynamicObjects.ArrowComponent

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(0.15f, 0.15f, 0.15f, 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]
 

Detailed Description

Creates an arrow with scale and direction proportional to the buoyancy force generated by an AeroObject's Buoyancy Model.

Member Function Documentation

◆ CleanUp()

override void AerodynamicObjects.BuoyancyArrow.CleanUp ( )
virtual

Remove any arrows when the class has been destroyed.

Implements AerodynamicObjects.ArrowComponent.

Member Data Documentation

◆ colour

Color AerodynamicObjects.BuoyancyArrow.colour = new Color(0.15f, 0.15f, 0.15f, 0.5f)

The documentation for this class was generated from the following file: