Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Temporarily cuts throttle and reduces RPM when drifting or in the air.
| Name | URevLimiterMotorSimComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/RevLimiterMotorSimComponent.h |
| Include Path | #include "RevLimiterMotorSimComponent.h" |
Syntax
UCLASS (ClassGroup="AudioMotorSim", Meta=(BlueprintSpawnableComponent))
class URevLimiterMotorSimComponent : public UAudioMotorSimComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioMotorSimComponent → URevLimiterMotorSimComponent
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AirMaxThrottleTime | float | How long should the rev limiter be enabled for while in air. | RevLimiterMotorSimComponent.h |
|
| bHoldRPMInReverse | bool | Bypasses the limiter in reverse and holds the RPM at ReverseMaxRPM. | RevLimiterMotorSimComponent.h |
|
| bRevLimitOnClutchEngaged | bool | If enabled, rev limiter behavior will be triggered by having the clutch engaged. | RevLimiterMotorSimComponent.h |
|
| bRevLimitOnReverse | bool | If enabled, rev limiter behavior will be triggered when in reverse. | RevLimiterMotorSimComponent.h |
|
| bShiftBackToZero | bool | If the car should shift back to 0 when the rev limiter is engaged. | RevLimiterMotorSimComponent.h |
|
| ClutchedRecoverRPM | float | When rev limiting on clutch, the RPM at which the throttle will be re-enabled. | RevLimiterMotorSimComponent.h |
|
| DecelScale | float | RevLimiterMotorSimComponent.h |
|
|
| LimiterMaxRpm | float | Ceiling RPM for the Rev Limiter. | RevLimiterMotorSimComponent.h |
|
| LimitTime | float | How long will the throttle be cut for when the limiter kicks in | RevLimiterMotorSimComponent.h |
|
| OnRevLimiterHit | FOnRevLimiterHit | RevLimiterMotorSimComponent.h |
|
|
| OnRevLimiterStateChanged | FOnRevLimiterStateChanged | RevLimiterMotorSimComponent.h |
|
|
| ReverseMaxRPM | float | The max RPM allowed when reversing. | RevLimiterMotorSimComponent.h |
|
| ReverseRecoverRPM | float | When rev limiting on reverse, the RPM at which the throttle will be re-enabled. | RevLimiterMotorSimComponent.h |
|
| SideSpeedThreshold | float | The side speed needed to trigger the rev limiter. | RevLimiterMotorSimComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bActive | bool | RevLimiterMotorSimComponent.h | ||
| TimeInAir | float | RevLimiterMotorSimComponent.h | ||
| TimeRemaining | float | Time remaining where the limiter is forcing throttle down. | RevLimiterMotorSimComponent.h |
Functions
Public
Overridden from IAudioMotorSim
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset() |
RevLimiterMotorSimComponent.h | ||
virtual void Update
(
FAudioMotorSimInputContext& Input, |
RevLimiterMotorSimComponent.h |