Pathfinding to a moving target in evolving terrain

In this post, I'm going to describe how I used direction fields to introduce fast and dynamic pathfinding to a browser game. I recently published a free browser game, developed in Unity, called Build + Brawl . In Build + Brawl , the player moves their character to avoid swarms of approaching enemies. The environment contains impassable obstacles — some generated at random, some placed by the…