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.
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
- If COHESION is deactivated, this parameter has no effect.
- 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.
- Negative values will have the opposite effect - forcing BOIDs to move away from the center of mass.
- 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.