Navigation
API > API/Plugins > API/Plugins/MassMovement
References
| Module | MassMovement |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassMovement/Public/MassMovementTypes.h |
| Include | #include "MassMovementTypes.h" |
Syntax
USTRUCT ()
struct FMassMovementStyleSpeedParameters
Remarks
Movement style consists of multiple speeds which are assigned to agents based on agents unique ID. Same speed is assigned consistently for the same ID.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Probability | Probability to assign this speed. | |
| float | ProbabilityThreshold | Probability threshold for this style, used to faster lookup. | |
| float | Speed | Desired speed | |
| float | Variance | How much default desired speed is varied randomly. |