Getting ready

Swamps, shallow water, and lava are easily placed in a level, and tagged on as a navigation area. However, doors are a little different. In this case, we will need to place an object below our door arc. It's even better if the door/arc mesh has a base mesh already. The following screenshot shows an example of what we're talking about:

Door object below visual door for players

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.