Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/AerofoilSystem.h |
Include |
#include "AerofoilSystem.h" |
Source |
/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Private/AerofoilSystem.cpp |
float CalcDynamicPressure
(
float VelocitySqr,
float InAltitude
)
Dynamic air pressure = 0.5 * AirDensity * Vsqr This function reduces the dynamic pressure in a linear fashion with altitude between MinCeiling & MaxCeiling in order to limit the aircrafts altitude with a 'natural feel' without having a hard limit