| TVehicleSystem
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/EngineSystem.h |
Include |
#include "EngineSystem.h" |
class FSimpleEngineSim : public TVehicleSystem< FSimpleEngineConfig >
Name | Description | |
---|---|---|
|
FSimpleEngineSim ( |
Name | Description | ||
---|---|---|---|
|
float |
GetEngineRevRate() |
|
|
float |
GetEngineRPM() |
Get the Engine speed in Revolutions Per Minute |
|
float |
GetEngineTorque() |
|
|
float |
GetTorqueFromRPM ( |
|
|
float |
GetTorqueFromRPM ( |
Get torque value from torque curve based on input RPM |
|
SetEngineRPM ( |
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. |
|
|
SetThrottle ( |
Pass in the throttle position to the engine |
|
|
Simulate ( |
Simulate - NOP at the moment |
|
|
StartEngine() |
Start the engine |
|
|
StopEngine() |
Stop the engine |