Navigation
API > API/Plugins > API/Plugins/AudioMotorSim
References
| Module | AudioMotorSim |
| Header | /Engine/Plugins/Runtime/AudioMotorSim/Source/AudioMotorSim/Public/AudioMotorSimTypes.h |
| Include | #include "AudioMotorSimTypes.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FAudioMotorSimInputContext
Remarks
Collection of properties to be filled out by the vehicle in order to update the motor sim
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanShift | Whether the motor can freely shift gears | |
| bool | bClutchEngaged | When true, signals that the gears are temporarily disconnected from the motor | |
| bool | bDriving | Whether a player can drive the vehicle right now | |
| bool | bGrounded | Whether the vehicle is firmly on the ground | |
| float | Boost | Normalized input representing additional thrust beyond normal driving behaviors | |
| float | Brake | Normalized input representing the player wanting to slow down [0, 1] | |
| float | DeltaTime | Time in Seonds. | |
| float | ForwardSpeed | Current speed of the vehicle relative to its forward direction. | |
| float | MotorFrictionModifier | Scaling to apply to any behaviors that model internal motor friction | |
| float | SideSpeed | Absolute value of the speed of the vehicle relative to its right direction | |
| float | Speed | Current speed of the vehicle in any direction. | |
| float | SurfaceFrictionModifier | Scaling to apply to any behaviors that model surface friction | |
| float | Throttle | Normalized input representing the player wanting to accelerate [-1, 1] | |
| float | UpSpeed | Current speed of the vehicle along the z-axis. |