Generated Off Mesh Links

Firstly, we will use autogenerated Off Mesh Links to connect the two planes. To do that, we need to follow these steps:

  1. Mark these two planes as Off Mesh Link Generation static in the property inspector, as shown in the following screenshot:
Off Mesh Link Generation static
  1. Go to the Navigation window and notice the following properties under the Bake tab. You can set the distance threshold to autogenerate Off Mesh Links:
Generated Off Mesh Links properties
  1. Click on Bake, and you should have Off Mesh Links connecting ...

Get Unity Artificial Intelligence Programming - Fourth 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.