FSimpleEngineSim::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.

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehiclesCore

Header

/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/EngineSystem.h

Include

#include "EngineSystem.h"

Syntax

void SetEngineRPM
(
    bool FreeRunningIn,
    float InEngineRPM
)

Remarks

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.