Compute a new agent direction using a flocking algorithm based on the proximity with agents of the same agent group.

Success: When the agent could be aligned

Failure: When the agent could not be aligned

Running: Never


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
alignmentdoubleAlignment weight
cohesiondoubleCohesion weight
separationdoubleSeparation weight
weightdoubleBlending weight
searchRadiusdoubleAll agents inside within this distance will be evaluated
maxTurnAngledoubleMax turn angle
velocityThresholddoubleThe velocity threshold. If the agent velocity magnitude is lower than this value the agent is not evaluated

Copyright © 2017, Toolchefs LTD.