Vector fields are how I can get the little digital creatures in my game to avoid walls and darts more intelligently. While the gravitational algorithms I’m using are great, they are somewhat limited in terms of how I can get creatures to avoid complex objects.
Enter vector fields:
Here we have an expired patent for a video game that uses vector fields to simulate intelligence in digital opponents. Found it on this awesome blog by Christer Ericson, Director of Tools and Technology at Sony Santa Monica (the God of War team).