Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
| Name | FSimpleEngineSim |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/EngineSystem.h |
| Include Path | #include "EngineSystem.h" |
Syntax
class FSimpleEngineSim : public TVehicleSystem< FSimpleEngineConfig >
Inheritance Hierarchy
- TVehicleSystem → FSimpleEngineSim
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSimpleEngineSim
(
const FSimpleEngineConfig* StaticDataIn |
EngineSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetEngineOmega() |
Get the Engine angular velocity | EngineSystem.h | |
float GetEngineRevRate() |
EngineSystem.h | ||
float GetEngineRPM() |
Get the Engine speed in Revolutions Per Minute | EngineSystem.h | |
float GetEngineTorque() |
EngineSystem.h | ||
float GetTorqueFromRPM
(
bool LimitToIdle |
EngineSystem.h | ||
float GetTorqueFromRPM
(
float RPM, |
Get torque value from torque curve based on input RPM | EngineSystem.h | |
void SetEngineOmega
(
const float EngineOmega |
Set the Engine angular velocity | EngineSystem.h | |
void SetEngineRPM
(
bool FreeRunningIn, |
When the wheels are in contact with the ground and clutch engaged then the load on the engine from the wheels determines the engine speed. | EngineSystem.h | |
void SetMaxTorque
(
float InTorque |
EngineSystem.h | ||
void SetThrottle
(
float InThrottle |
Pass in the throttle position to the engine | EngineSystem.h | |
void Simulate
(
float DeltaTime |
Simulate - NOP at the moment | EngineSystem.h | |
void StartEngine() |
Start the engine | EngineSystem.h | |
void StopEngine() |
Stop the engine | EngineSystem.h |