Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/AI/MassAI/Source/MassAIMovement/Public/MassAIMovementTypes.h |
Include |
#include "MassAIMovementTypes.h" |
USTRUCT()
struct FMassMovementStyleSpeed
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.
Name | Description | ||
---|---|---|---|
|
Probability |
Probability to assign this speed. |
|
|
ProbabilityThreshold |
Running sum of the probabilities so far, used to faster lookup. |
|
|
float |
Speed |
Desired speed |
|
float |
Variance |
How much default desired speed is varied randomly. |