FVehicleEngineConfig

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehicles

Header

/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosWheeledVehicleMovementComponent.h

Include

#include "ChaosWheeledVehicleMovementComponent.h"

Syntax

USTRUCT()
struct FVehicleEngineConfig

Variables

Name Description

Public variable UProperty Category, EditAnywhere

float

 

EngineBrakeEffect

Braking effect from engine, when throttle released

Public variable UProperty Category, EditAnywhere, Meta

float

 

EngineIdleRPM

Idle RMP of engine then in neutral/stationary

Public variable UProperty Category, EditAnywhere, Meta

float

 

EngineRevDownRate

Affects how fast the engine RPM slows down

Public variable UProperty Category, EditAnywhere, Meta

float

 

EngineRevUpMOI

Affects how fast the engine RPM speed up

Public variable UProperty Category, EditAnywhere, Meta

float

 

MaxRPM

Maximum revolutions per minute of the engine

Public variable UProperty Category, EditAnywhere

float

 

MaxTorque

Max Engine Torque (Nm) is multiplied by TorqueCurve

Public variable UProperty Category, EditAnywhere

FRuntimeFloatCu...

 

TorqueCurve

Torque [Normalized 0..1] for a given RPM

Constructors

Name Description

Public function

FVehicleEngineConfig()

Functions

Name Description

Public function

const Chaos:...

 

GetPhysicsEngineConfig()

Public function

float

 

GetTorqueFromRPM

(
    float EngineRPM
)

Public function

void

 

InitDefaults()