Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAudioMotorSimComponent
- UVelocitySyncMotorSimComponent
References
| Module | AudioMotorSimStandardComponents |
| Header | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/VelocitySyncMotorSimComponent.h |
| Include | #include "VelocitySyncMotorSimComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;"AudioMotorSim", Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UVelocitySyncMotorSimComponent : public UAudioMotorSimComponent
Remarks
Sets Rpm directly from speed using a curve, if under a speed threshold or if the throttle is released for a period of time
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | FirstGearThrottleThreshold | ||
| float | InterpSpeed | ||
| float | InterpTime | ||
| float | NoThrottleTime | ||
| float | SpeedThreshold | Speed below which gears will be ignored, and RPM will sync directly to velocity. | |
| FRuntimeFloatCurve | SpeedToRpmCurve |
Overridden from IAudioMotorSim
| Type | Name | Description | |
|---|---|---|---|
| void | Reset () |
Use to reset any state that might be desired. Will be called automatically if the entire MotorSim is Reset, or call it manually. | |
| void | Update
(
FAudioMotorSimInputContext& Input, |