Flocking

The flocking module moves your agents blending three steering behaviours: separation, alignment and cohesion. The user can tweak the weight parameters to achieve different results.



Attributes

AttributesTypeOverridableDescription
alignmentdoublenoThe alignment weight.
cohesiondoublenoThe cohesion weight.
separationdoublenoThe separation weight.
searchRadiusdoublenoAll agents inside of this distance range will be evaluated.
weightdoubleyesweight
maxTurnAngledoublenoThe max turn angle.
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.