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