Bees, wasps, fish, butterflies - these are just a few of the things that you can animate with this nifty little script. Swarm Script by Macouno at AlienHelpDesk has recently updated his script that takes a series of objects and animates them within a defined space and makes them act like swarms each avoiding the other and surrounding objects.
This experimental script is written in Python and requires the math and random modules so it will probably need the full Python install to work. It is compatible with Blender 2.42 and the tests ran by BlenderNation proved that it was a very suitable script for generating large swarms of objects.
To start with you want to create one object for your swarm. For instance an object called "Cube". Then copy that object however many times you want. This will create a group of objects with names like:Â Cube, Cube.001, Cube.002 and so forth.
This will be the swarm! So remember that the swarm exists of objects with a certain word in their name! It has nothing to do with parenting or the like.
The script will create IPO curves for each animated object.