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 FVehicleEngineConfig
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | EngineBrakeEffect | Braking effect from engine, when throttle released | |
| float | EngineIdleRPM | Idle RMP of engine then in neutral/stationary | |
| float | EngineRevDownRate | Affects how fast the engine RPM slows down | |
| float | EngineRevUpMOI | Affects how fast the engine RPM speed up | |
| float | MaxRPM | Maximum revolutions per minute of the engine | |
| float | MaxTorque | Max Engine Torque (Nm) is multiplied by TorqueCurve | |
| FRuntimeFloatCurve | TorqueCurve | Torque [Normalized 0..1] for a given RPM |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const Chaos::FSimpleEngineConfig & | |||
| float | GetTorqueFromRPM
(
float EngineRPM |
||
| void | InitDefaults () |