![]() |
Kerbal Space Program
1.12.4
|
Public Member Functions | |
| void | DrawWindow (int windowID) |
| void | DrawWindowThermal (int windowID) |
| void | GetAeroStats (Vector3d nVel) |
| void | GetThermalStats (Vessel vessel) |
| void | OnGUI () |
| void | Start () |
| void | Update () |
Public Attributes | |
| double | convectiveTotal = 0d |
| via regex More... | |
| double | dTime |
| thermal counter More... | |
| double | terminalV |
| bool | winterOwlModeOff = true |
Static Public Attributes | |
| static Rect | windowPos = new Rect(100, 100, 0, 0) |
| static Rect | windowPosThermal = new Rect(200, 200, 0, 0) |
|
inline |
< Now the basic craft stats
< Now lift/drag related stats
|
inline |
|
inline |
< the sum of lift from all parts
< the sum of drag from all parts
< dynamic pressure, aka Q
< Equivalent Air Speed
< Now we loop through all parts, checking the modules in each part
< get part drag (but not wing/surface drag)
< sum of all forces on the craft
< just the force in the 'lift' direction
< just the force in the 'up' direction (note, some of it may be drag!)
< drag force, = pDrag + lift-induced drag
< Lift Induced Drag
< any drag in the opposite direction of gravity
< Lift / Drag ratio
< convert kN to Newtons
< convert tonnes to kg
|
inline |
< sun
< now that we computed the angle, we choose the right pole for the axial dot.
< get normalized dot
< get latitude-based changes, if body has an atmosphere
< orbital altitude variation
< calculate air mass etc
< get solar air stuff
< get hypersonic convective shock temp
< now calculate two temperatures: the effective temp, and the maximum possible surface temperature
< now use some magic numbers to calculate minimum and maximum temperatures
< density lerps
< get convection
|
inline |
|
inline |
< clear solar values
|
inline |
< clear values
< clear solar values
< force of gravity
< angle of attack re: velocity
< sideslip re: velocity
< vertical speed in m/s
| double AeroGUI.convectiveTotal = 0d |
via regex
| double AeroGUI.dTime |
thermal counter
| double AeroGUI.terminalV |
|
static |
|
static |
| bool AeroGUI.winterOwlModeOff = true |
1.8.7