Agent separation

Agent separation

The agents avoidance module keeps your agents from getting too close to each other. It works best in situations where agents walk in the same direction.




Attributes

Attributes

Type

Overridable

Description

Attributes

Type

Overridable

Description

distance

double

no

The threshold distance. All agents closer within this distance range will be evaluated.

maxTurnAngle

double

no

The max turn angle.

separationForce

double

no

The force used for separating the agents.

weight

double

yes

weight

agentGroups

stringArray

no

array of agent group names. The agent groups will be considered during the evaluation.

debug

bool

no

enables module debug drawing.

velocityThreshold

double

no

if the agent velocity length is smaller than this value the agent is not evaluated.

ignoreNextDirectionalModules

bool

yes

If enabled, all next directional modules in the stack will be ignored.

editLocomotionAngularVelocity

bool

yes

If on, this module will edit the targetAngularVelocity metadata used by the locomotion system.




Copyright © 2017, Toolchefs LTD.