Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity AI Programming Essentials

You're reading from   Unity AI Programming Essentials Use Unity3D, a popular game development ecosystem, to add realistic AI to your games quickly and effortlessly

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783553556
Length 162 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Curtis Bennett Curtis Bennett
Author Profile Icon Curtis Bennett
Curtis Bennett
Arrow right icon
View More author details
Toc

Advanced NavMesh parameters

Now that we know how navigation mesh generations works, let's look at the different parameters you can set to generate them in more detail.

We'll look at how to do these parameters with RAIN using the following steps:

  1. Open one of our previous scenes or create a new one with a floor and some blocks for walls.
  2. Then, go to RAIN | Create NavMesh. Also, right-click on the RAIN menu and choose Show Advanced Settings. The setup should look something like the following screenshot:
    Advanced NavMesh parameters

    The NavMesh setup

    Now let's look at some of the important parameters:

    • Size: This is the overall size of the navigation mesh. You'll want the navigation mesh to cover your entire level and use this parameter instead of trying to scale up the navigation mesh through the Scale transform in the Inspector window. For our demo here, set the Size parameter to 20.
    • Walkable Radius: This is an important parameter to define the character size of the mesh. Remember, each mesh will be matched...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime