FVehicleTransmissionConfig

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 FVehicleTransmissionConfig

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

bool

 

bUseAutomaticGears

Whether to use automatic transmission

Public variable UProperty Category, EditAnywhere, Meta

bool

 

bUseAutoReverse

Public variable UProperty Category, EditAnywhere, Meta

float

 

ChangeDownRPM

Engine Revs at which gear down change ocurrs

Public variable UProperty Category, EditAnywhere, Meta

float

 

ChangeUpRPM

Engine Revs at which gear up change ocurrs

Public variable UProperty Category, EditAnywhere, AdvancedDisplay

float

 

FinalRatio

The final gear ratio multiplies the transmission gear ratios.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay

TArray< float >

 

ForwardGearRatios

Forward gear ratios

Public variable UProperty Category, EditAnywhere, Meta

float

 

GearChangeTime

Time it takes to switch gears (seconds)

Public variable UProperty Category, EditAnywhere, AdvancedDisplay

TArray< float >

 

ReverseGearRatios

Reverse gear ratio(s)

Public variable UProperty Category, EditAnywhere, AdvancedDisplay

float

 

TransmissionEfficiency

Mechanical frictional losses mean transmission might operate at 0.94 (94% efficiency)

Constructors

Name Description

Public function

FVehicleTransmissionConfig()

Functions

Name Description

Public function

float

 

GetGearRatio

(
    int32 InGear
)

Public function

const Chaos:...

 

GetPhysicsTransmissionConfig()

Public function

void

 

InitDefaults()