# Boid Particles - How To Use Fighting/Battle Information In Animation (Fighting Ants)

I am experimenting with boid particles and I have set up an ant fight simulation, where there are two enemy boid systems emitted from different areas (vertex groups) of a plane. "Allow Land" is enabled, "Allow Flight" is disabled (i.e., they crawl but do not fly).

Their "boid brain" rules include "Fight" and indeed they do go after one another. Unfortunately I've had difficulty finding information about how the system uses the combat data. It sort of looks like some of the particles slow down and perhaps stop after combat (maybe if their health is low?) and occasionally some seem to just disappear (maybe if their health goes to zero? does a critically wounded boid just keep losing health even if it is not attacked, or does a dead boid just stick around for a while before disappearing?).

So part of my question is just trying to determine what the default programmed behavior is, if this is documented somewhere it would be handy. But I'm also interested in finding out whether I can change or supplement this behavior. Could I access the particle health status in a driver (perhaps to drive a shape key) or via the Attribute node? Is there an attribute that tells me whether a particle is engaged in combat?

If that's too vague: ideally I would like my ants to go into a fighting pose when they are fighting (maybe rearing up on their back legs?) and when dead maybe turn upside down or change color or something. This is both to simply understand what's happening (how savage the battle is) and ultimately to depict the combat animation with a bit of realism. Thanks in advance!

• easyblend.org/html/physics/particles/physics/boids.html – user1853 Jun 8 '19 at 3:41
• docs.blender.org/manual/en/latest/physics/force_fields/types/… – user1853 Jun 8 '19 at 3:43
• Thank you cegaton, I did of course peruse the official documentation as well as do a number of searches on this and other sites before posing my question. If this documentation answers my questions I have failed to spot it. – risingfall Jun 8 '19 at 3:45
• E: I just wanted to emphasize that I really have searched and not found what I wanted. – risingfall Jun 8 '19 at 3:50
• – user1853 Jun 8 '19 at 3:55

I think you are expecting too much from the boids fight option. The boids documentation describes fight as Move toward nearby boids. It won't animate two ants in combat for you.