Finding the Path

The Mathematics of Navmeshes and How Video Game AI Learns to Navigate

Cover of Finding the Path

EPUB · English

Price and availability

EPUB eBookUS store

$5.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
epubli
Published
1 March 2026
ISBN
9783565284405
Subjects
Computer programming / software development, Computer programming / software engineering

About this book

When a dragon swoops down to attack you, or an enemy soldier flanks your position in a video game, it feels like they are making intelligent, independent decisions. In reality, they are completely blind to the beautiful 3D world you see. Instead, they are reading a hidden, invisible layer of geometry called a Navigation Mesh (Navmesh). A Navmesh is a simplified floor plan composed of interconnected polygons that tells the AI exactly where it can and cannot step. Before Navmeshes, early game enemies used simple waypoints or grid systems, frequently getting stuck on walls or walking mindlessly into corners. By calculating the shortest distance between polygon nodes using algorithms like A*, developers allowed NPCs to fluidly navigate complex stairs, jump over gaps, and pursue the player without looking robotic. This technical deep-dive translates the complex mathematics of AI pathfinding into an accessible history of game design. We explore how dynamic Navmeshes revolutionized open-world games, allowing the environment to recalculate routes in real-time when a bridge collapses or a car blocks an alleyway. For gamers and aspiring developers, understanding this invisible architecture shatters the illusion of artificial intelligence. Discover the brilliant geometric tricks that give digital characters the illusion of spatial awareness.

Bibliographic data © Gardners Books Ltd.