This is an implementation of flocking behavior in 3d that I did for my game AI class. It uses a combination of cohesion, separation, velocity matching, and align behaviors. The cubes may represent fish or birds. I used boxes since at the point this video was made I had not yet made a model loader and the rotations were broken.

Flow Field Pathfinding

Flow Field Picture

One of the most important and wide reaching subjects of artificial intelligence in video games is pathfinding. One of the most commonly used methods of pathfinding in games at the moment is the A* algorithm. This algorithm is capable of finding the shortest path between two points when given a graph to traverse. This method is an acceptable solution to …

Continue reading