UMassAvoidanceSettings

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MassAIMovement

Header

/Engine/Plugins/AI/MassAI/Source/MassAIMovement/Public/MassAvoidanceSettings.h

Include

#include "MassAvoidanceSettings.h"

Syntax

UCLASS(Config=Mass, defaultconfig, Meta=(DisplayName="Mass Avoidance"), DontCollapseCategories)
class UMassAvoidanceSettings : public UMassModuleSettings

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentAvoidanceStiffness

400..1000 Multiplier on the agent-agent avoidance force (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentCollisionInset

0..10 How far inside the circle the smooth collisions starts (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentSeparation

100..500 Separation force, even a little bit of separation can help to smooth out deadlocks in dense crowds.

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentSeparationBuffer

0..100 How big the decay/buffer is for separation (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentSeparationBufferAtEnd

0..100 Agent separation buffer near target location (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentSeparationBufferForExtendingColliders

0..150 Separation buffer for obstacles growing near edges (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AgentSeparationForExtendingColliders

100..1000 Separation force for obstacles growing near edges.

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AvoidanceBuffer

0..150 Buffer added when computing distance to agents and obstacles (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AvoidanceBufferAtEnd

0..150 Avoidance buffer near target location (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AvoidanceBufferForExtendingColliders

0..150 Buffer added when computing distance to agents and obstacles growing near edges (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

AvoidanceInset

0..25 Allowed penetration, subtracted from the total of compared agents radius (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

NearTargetLocationDistance

Distance threshold where the agent is considered near it's target location and removing agent separation.

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

ObstacleAvoidanceStiffness

400..1000 Multiplier on the agent-obstacle avoidance force (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

ObstacleCollisionInset

0..10 How far inside the circle the smooth collisions starts (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

ObstacleSeparation

200..1000 Prevents getting stuck obstacles, keeps space to take over close to obstacles (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

ObstacleSeparationBuffer

0..200 How big the decay/buffer is for separation (distance).

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

OrientationEndOfPathHeadingAnticipation

Distance from end of the path when we start to blend into the desired orientation.

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

OrientationSmoothingTime

Time (in seconds) it takes a new heading direction to completely blend in.

Public variable UProperty Category, EditAnywhere, Meta Config

float

 

TimeHorizon

1..3 Too high value makes close agent search slow, too small removes avoidance effect.

Functions

Name Description

Public function Static

const UMassA...

 

Get()