Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosWheeledVehicleMovementComponent.h |
| Include | #include "ChaosWheeledVehicleMovementComponent.h" |
Syntax
USTRUCT&40;&41;
struct FVehicleTransmissionConfig
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseAutomaticGears | Whether to use automatic transmission | |
| bool | bUseAutoReverse | ||
| float | ChangeDownRPM | Engine Revs at which gear down change ocurrs | |
| float | ChangeUpRPM | Engine Revs at which gear up change ocurrs | |
| float | FinalRatio | The final gear ratio multiplies the transmission gear ratios. | |
| TArray< float > | ForwardGearRatios | Forward gear ratios | |
| float | GearChangeTime | Time it takes to switch gears (seconds) | |
| TArray< float > | ReverseGearRatios | Reverse gear ratio(s) | |
| float | TransmissionEfficiency | Mechanical frictional losses mean transmission might operate at 0.94 (94% efficiency) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetGearRatio
(
int32 InGear |
||
| const Chaos::FSimpleTransmissionConfig & | |||
| void | InitDefaults () |