Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Uses Boost input to momentarily scale throttle input and pitch output
| Name | UBoostMotorSimComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/BoostMotorSimComponent.h |
| Include Path | #include "BoostMotorSimComponent.h" |
Syntax
UCLASS (ClassGroup="AudioMotorSim", Meta=(BlueprintSpawnableComponent))
class UBoostMotorSimComponent : public UAudioMotorSimComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioMotorSimComponent → UBoostMotorSimComponent
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bModifyPitch | bool | Whether scale the overall pitch by the boost strength | BoostMotorSimComponent.h |
|
| BoostToPitchCurve | FRuntimeFloatCurve | Curve to derive final pitch value (in playback speed) from boost strength. | BoostMotorSimComponent.h |
|
| InterpExp | float | Controls shape of the scaling | BoostMotorSimComponent.h |
|
| InterpTime | float | How fast the torque scales when starting to boost. | BoostMotorSimComponent.h |
|
| PitchModifierInterpSpeed | float | Speed at which pitch approaches its target value. | BoostMotorSimComponent.h |
|
| ScaleThrottleWithBoostStrength | bool | Whether to use the boost strength to scale ThrottleScale, or just check if it is > 0 to apply the throttle scalar | BoostMotorSimComponent.h |
|
| ThrottleScale | float | Scale the engine torque by this value when boost is active. | BoostMotorSimComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTime | float | BoostMotorSimComponent.h |
Functions
Public
Overridden from IAudioMotorSim
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset() |
BoostMotorSimComponent.h | ||
virtual void Update
(
FAudioMotorSimInputContext& Input, |
BoostMotorSimComponent.h |