Navigation
API > API/Plugins > API/Plugins/AudioMotorSimStandardComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAudioMotorSimComponent
- UMotorPhysicsSimComponent
References
| Module | AudioMotorSimStandardComponents |
| Header | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSimStandardComponents/Public/MotorPhysicsSimComponent.h |
| Include | #include "MotorPhysicsSimComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;"AudioMotorSim", Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UMotorPhysicsSimComponent : public UAudioMotorSimComponent
Remarks
Uses throttle input to run a physics simulation to drive RPM and shift gears when needed.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysDownshiftToZerothGear | ||
| float | BrakingHorsePower | ||
| bool | bUseInfiniteGears | ||
| float | ClutchedForceModifier | ||
| float | ClutchedGearRatio | ||
| float | DownShiftStartRpm | ||
| float | EngineFriction | How much of the torque is loss due to engine friction. | |
| float | EngineGearRatio | ||
| float | EngineTorque | ||
| TArray< float > | GearRatios | ||
| float | GroundFriction | Coefficient of Rolling Resistance. | |
| float | InfiniteGearRatio | How much to scale gear ratio per gear past the max gear | |
| FOnGearChanged | OnGearChangedEvent | ||
| float | RpmInterpSpeed | ||
| float | ThrottleInterpolationTime | ||
| float | UpShiftMaxRpm | ||
| float | Weight | ||
| float | WindResistancePerVelocity |
Overridden from IAudioMotorSim
| Type | Name | Description | |
|---|---|---|---|
| void | Update
(
FAudioMotorSimInputContext& Input, |