Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAudioMotorSimComponent
- UResistanceMotorSimComponent
References
| Module | AudioMotorSimStandardComponents |
| Header | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/ResistanceMotorSimComponent.h |
| Include | #include "ResistanceMotorSimComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;"AudioMotorSim", Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UResistanceMotorSimComponent : public UAudioMotorSimComponent
Remarks
Applys additional surface friction based on the angle of the vehicle's velocity
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | MinSpeed | Minimum speed to apply this extra resistance. | |
| FRuntimeFloatCurve | SideSpeedFrictionCurve | Additional friction to add based on lateral speed. | |
| float | UpSpeedMaxFriction | How much to increase surface friction when driving straight up. Scales linearly based on driving angle. |
Overridden from IAudioMotorSim
| Type | Name | Description | |
|---|---|---|---|
| void | Update
(
FAudioMotorSimInputContext& Input, |