How it works...

After baking the initial navigation mesh, the whole system takes into account all the obstacles in the scene and carves the areas around the obstacles in order to fine-tune the available navigation area. Besides, the navigation system keeps track of the dynamic obstacles' transformations (the ones with the Carve Only Stationary option unchecked) in order to recalculate the navigation area as needed.

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.