Hornet Swarm.

1,380 views · Published 19 February 2015 · 2:20 · Indexed 12 October 2026

Channel: hugepedlar · 2015 · Gaming

Watch on YouTube

A rudimentary swarming algorithm leads to some nice emergent behaviour.

Each member of the swarm chooses a target: the Player, if he is close enough, otherwise a different random member of the swarm every one second. It then moves towards its target until it gets too close, and then it moves away.

Observed behaviours:

1) When the player is absent the swarm maintains cohesion in a diffuse cloud.

2) The player can draw out individual members and lure them away.

3) If more than 2 or 3 members follow the player, the swarm will follow soon after.

4) With careful movement, the player can herd the swarm safely around the environment, potentially allowing tactical gameplay against other units.

More from this channel