Back to PIA's main page 

PIA Cohesion Tab

PIA Cohesion Tab


When COHESION is activated, BOIDs will attempt to group together by moving towards the group’s center of mass (the average of all BOIDs’ positions). Cohesion only has one parameter.

Cohesion StrengthEdit

Adjust this value to influence the strength of cohesion. Higher values will force the BOIDs to stay close to the group’s center of mass.

Tips and LimitationsEdit

  1. If COHESION is deactivated, this parameter has no effect.
  2. A value of 1.0 is a "nominal" value. A value of 2.0 will create twice the force, while a value of 0.5 will create half the force.
  3. Negative values will have the opposite effect - forcing BOIDs to move away from the center of mass.
  4. The "Localize Rules" parameter works on this rule. When set, the center of mass for each BOID is calculated only based on those within the Localize Radius.