FSimpleAerodynamicsSim

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Protected variable

float

 

DensityOfMedium

Protected variable

float

 

DownforceCoefficient

Protected variable

float

 

DragCoefficient

Protected variable

float

 

EffectiveDragConstant

Protected variable

float

 

EffectiveLiftConstant

Constructors

Name Description

Public function

FSimpleAerodynamicsSim

(
    const FSimpleAerodynamicsConfig...
)

Functions

Name Description

Public function

FVector

 

GetCombinedForces

(
    float VelocityIn
)

Get the drag and down forces combined in a 3D vector, drag on X-axis, down-force on Z-axis

Public function

float

 

GetDragForceFromVelocity

(
    float VelocityIn
)

Get the drag force generated at the given velocity

Public function

float

 

GetLiftForceFromVelocity

(
    float VelocityIn
)

Get the lift/down-force generated at the given velocity

Public function

void

 

SetDensityOfMedium

(
    float DensityIn
)

Set the density of the medium through which you are traveling Air/Water, etc

Public function

void

 

SetDownforceCoefficient

(
    float InCoeffient
)

Public function

void

 

SetDragCoefficient

(
    float InCoeffient
)