This tutorial explains in detail how write AI to flank an enemy. It's a fascinating problem than involves terrain representation, analysis, and reasoning. Learn about the simplest tricks in the book, for example solutions based on vector algebra using known landmarks as reference points, as well as more advanced techniques too that involve multiple layers of single-source search and tactical pathfinding!
Dig Into AI: A Flanking Opportunity
Alex J. Champandard on November 28, 2013
Access the rest of this feature by joining industry experts and other professionals as a PREMIUM member in the leading Game AI training program.