Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
Inheritance Hierarchy
- TVehicleSystem
- FSimpleAerodynamicsSim
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/AerodynamicsSystem.h |
| Include | #include "AerodynamicsSystem.h" |
Syntax
class FSimpleAerodynamicsSim : public TVehicleSystem< FSimpleAerodynamicsConfig >
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | DensityOfMedium | ||
| float | DownforceCoefficient | ||
| float | DragCoefficient | ||
| float | EffectiveDragConstant | ||
| float | EffectiveLiftConstant |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSimpleAerodynamicsSim
(
const FSimpleAerodynamicsConfig* SetupIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetCombinedForces
(
float VelocityIn |
Get the drag and down forces combined in a 3D vector, drag on X-axis, down-force on Z-axis | |
| float | GetDragForceFromVelocity
(
float VelocityIn |
Get the drag force generated at the given velocity | |
| float | GetLiftForceFromVelocity
(
float VelocityIn |
Get the lift/down-force generated at the given velocity | |
| void | SetDensityOfMedium
(
float DensityIn |
Set the density of the medium through which you are traveling Air/Water, etc | |
| void | SetDownforceCoefficient
(
float InCoeffient |
||
| void | SetDragCoefficient
(
float InCoeffient |