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

AttributesTypeOverridableDescription
distancedoublenoThe threshold distance. All agents closer within this distance range will be evaluated.
maxTurnAngledoublenoThe max turn angle.
separationForcedoublenoThe force used for separating the agents.
weightdoubleyesweight
agentGroupsstringArraynoarray of agent group names. The agent groups will be considered during the evaluation.
debugboolnoenables module debug drawing.
velocityThresholddoublenoif the agent velocity length is smaller than this value the agent is not evaluated.
ignoreNextDirectionalModulesboolyesIf enabled, all next directional modules in the stack will be ignored.
editLocomotionAngularVelocityboolyesIf on, this module will edit the targetAngularVelocity metadata used by the locomotion system.


Copyright © 2017, Toolchefs LTD.