The NavMesh

Creating the navigation mesh in Unity is very simple. The process is similar to the one we used for making lightmaps. We just mark some meshes to be used, adjust some settings in a special window, and hit a button. So, load up the Tank Battle game in Unity, if you haven't already done so, and we can get started.

Get Unity Android Game Development by Example Beginner's Guide 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.