#include <EngineSystem.h>
◆ FSimpleEngineSim()
◆ GetEngineOmega()
| float Chaos::FSimpleEngineSim::GetEngineOmega |
( |
| ) |
const |
|
inline |
get the Engine angular velocity
◆ GetEngineRevRate()
| float Chaos::FSimpleEngineSim::GetEngineRevRate |
( |
| ) |
|
|
inline |
◆ GetEngineRPM()
| float Chaos::FSimpleEngineSim::GetEngineRPM |
( |
| ) |
const |
|
inline |
get the Engine speed in Revolutions Per Minute
◆ GetEngineTorque()
| float Chaos::FSimpleEngineSim::GetEngineTorque |
( |
| ) |
|
|
inline |
◆ GetTorqueFromRPM() [1/2]
| float Chaos::FSimpleEngineSim::GetTorqueFromRPM |
( |
bool |
LimitToIdle = true | ) |
|
|
inline |
◆ GetTorqueFromRPM() [2/2]
◆ SetEngineOmega()
| void Chaos::FSimpleEngineSim::SetEngineOmega |
( |
const float |
EngineOmega | ) |
|
|
inline |
Set the Engine angular velocity
◆ SetEngineRPM()
| void Chaos::FSimpleEngineSim::SetEngineRPM |
( |
bool |
FreeRunningIn, |
|
|
float |
InEngineRPM |
|
) |
| |
|
inline |
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. With no clutch simulation just setting the engine RPM directly to match the wheel speed.
◆ SetMaxTorque()
| void Chaos::FSimpleEngineSim::SetMaxTorque |
( |
float |
InTorque | ) |
|
|
inline |
◆ SetThrottle()
| void Chaos::FSimpleEngineSim::SetThrottle |
( |
float |
InThrottle | ) |
|
|
inline |
Pass in the throttle position to the engine
◆ Simulate()
| void Chaos::FSimpleEngineSim::Simulate |
( |
float |
DeltaTime | ) |
|
Simulate - NOP at the moment
◆ StartEngine()
| void Chaos::FSimpleEngineSim::StartEngine |
( |
| ) |
|
|
inline |
◆ StopEngine()
| void Chaos::FSimpleEngineSim::StopEngine |
( |
| ) |
|
|
inline |
◆ CurrentRPM
| float Chaos::FSimpleEngineSim::CurrentRPM |
|
protected |
◆ DriveTorque
| float Chaos::FSimpleEngineSim::DriveTorque |
|
protected |
◆ EngineIdleSpeed
| float Chaos::FSimpleEngineSim::EngineIdleSpeed |
|
protected |
◆ EngineStarted
| bool Chaos::FSimpleEngineSim::EngineStarted |
|
protected |
◆ FreeRunning
| bool Chaos::FSimpleEngineSim::FreeRunning |
|
protected |
◆ MaxEngineSpeed
| float Chaos::FSimpleEngineSim::MaxEngineSpeed |
|
protected |
◆ MaxTorque
| float Chaos::FSimpleEngineSim::MaxTorque |
|
protected |
◆ Omega
| float Chaos::FSimpleEngineSim::Omega |
|
protected |
◆ RevRate
| float Chaos::FSimpleEngineSim::RevRate |
|
protected |
◆ TargetSpeed
| float Chaos::FSimpleEngineSim::TargetSpeed |
|
protected |
◆ ThrottlePosition
| float Chaos::FSimpleEngineSim::ThrottlePosition |
|
protected |
The documentation for this class was generated from the following files:
- Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/EngineSystem.h
- Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Private/EngineSystem.cpp