Re the first set up aggression does not seem to count for much in boid world
I am just discovering how Aggression works in the Boid Brain. Here are my observations about the system. It seems Aggression takes into account the total sum of all enemy Strength.
265_boids_ENEMY_stand-off.blend (132 KB)
If we set all of the Battle Settings to 1.0 and reduce our particle count to 1 for both emitters we get two ENEMY boid systems whose Fight and Flee Distance dictate what action will occur in this single rule setup. If either of the emitters are within Fight Distance, that particle will travel towards the ENEMY system. If we set the Fight Distance to 1.0 for both systems and move their emitters away from each other we get a STAND-OFF. Both boids exist but because they are each out of range, they make no other movement (assuming there are no other Rules to evaluate i.e. Fight is the only rule).
265_boids_ENEMY_tough-guy.blend (182 KB)
Now that we have two equal systems, let’s change values and see if Aggression actually works. We will make the purple sphere the ‘tough guy’ and increase his Aggression to 2.0. We will also increase the Fight Distance to 20.0 so the tough guy can see the near-by enemy particle systems. Sure enough, when we play the animation the purple sphere seeks out the green cube. When the sphere gets within the Fight Distance of the cube, it activates and seeks out the sphere as well.
AFRAID OF A CROWD:
265_boids_ENEMY_afraid_of_a_crowd.blend (179 KB)
So the tough guy moves towards a single enemy because his Aggression of 2.0 is greater than the enemy’s Strength of 1.0. So let’s add more green cubes. If we up the particle count to 3 we now have three green cubes that the single purple sphere wants to attack. Initially it moves towards the enemy grouping then the boid brain evaluates the Strength of the opposition. In this case, 3 times 1.0. Because the total enemy Strength of 3.0 is greater then the Aggression of the single purple sphere. The sphere is placed in Flee mode and begins to move out of range. Once out of range it is once again attracted to the crowd only to realize there are too many and flee again.