Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Sets Rpm directly from speed using a curve, if under a speed threshold or if the throttle is released for a period of time
| Name | UVelocitySyncMotorSimComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/VelocitySyncMotorSimComponent.h |
| Include Path | #include "VelocitySyncMotorSimComponent.h" |
Syntax
UCLASS (ClassGroup="AudioMotorSim", Meta=(BlueprintSpawnableComponent))
class UVelocitySyncMotorSimComponent : public UAudioMotorSimComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioMotorSimComponent → UVelocitySyncMotorSimComponent
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FirstGearThrottleThreshold | float | VelocitySyncMotorSimComponent.h |
|
|
| InterpSpeed | float | VelocitySyncMotorSimComponent.h |
|
|
| InterpTime | float | VelocitySyncMotorSimComponent.h |
|
|
| NoThrottleTime | float | VelocitySyncMotorSimComponent.h |
|
|
| SpeedThreshold | float | Speed below which gears will be ignored, and RPM will sync directly to velocity. | VelocitySyncMotorSimComponent.h |
|
| SpeedToRpmCurve | FRuntimeFloatCurve | VelocitySyncMotorSimComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InterpTimeLeft | float | VelocitySyncMotorSimComponent.h | ||
| NoThrottleTimeElapsed | float | VelocitySyncMotorSimComponent.h |
Functions
Public
Overridden from IAudioMotorSim
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset() |
VelocitySyncMotorSimComponent.h | ||
virtual void Update
(
FAudioMotorSimInputContext& Input, |
VelocitySyncMotorSimComponent.h |