Predator Prey

This function has some parallels to the Flock Modifier, but ther two particle groups behave differently. One group acts as a hunter (predator) and therefore seeks the proximity of the second group. The hunted particles, on the other hand, try to avoid the predators. You must therefore have two separate Particle Groups available and link them within the Modifier.
What is particularly interesting about the effect is that the behavior of the particles can also change during the simulation. This means that hunted particles can also become predators if they are touched by predators. This makes it possible, for example, to pass on properties from one group to another. The following video shows an example of this. In the video, green particles were created on a ring and declared as the hunted (prey). The fighter particles are created in the center of the ring and fly off in random directions. When the predators approach, the prey move away from them. If they fall below a certain radius, the prey become predators themselves, as can be seen from the color change. In this way, all green particles are gradually converted.