- Hands-On Artificial Intelligence with Unreal Engine
- Francesco Sapio
- 261字
- 2021-06-24 15:23:27
Generating the Navigation Mesh
Generating a simple Navigation Mesh is pretty straightforward in Unreal. Let's look at how we can do it. From the Mode panel, in the Volume tab, you will be able to find the Nav Mesh Bounds Volume, as shown in the following screenshot:

Drag it into the world. You will notice that the volume is quite small in respect to the map. Everything inside that volume will be taken into consideration to generate a Nav Mesh. Of course, a Nav Mesh has many parameters, but for now let's keep thing simple.
If you press the P button on your keyboard, you will be able to see the Nav Mesh in the Viewport, as shown in the following screenshot:

As you can see, it is limited to the area that's contained in the volume of Nav Mesh Bounds Volume. Let's scale the Nav Mesh Bounds Volume to fit all the level we have. This is what your level should look like:

Did you notice how, while you were scaling your volume, the Nav Mesh was updating automatically? This is because, in Unreal, the Nav Mesh is generated every time something that impacts the Nav Mesh moves.

This is how easy is to generate a Nav Mesh. However, to be able to master the tool, we need to learn more about how to refine the Nav Mesh and how it is used by the AI.
- 深度學習經典案例解析:基于MATLAB
- Power Up Your PowToon Studio Project
- Getting Started with ResearchKit
- Visual Basic程序設計教程
- Koa開發:入門、進階與實戰
- Java EE 7 Development with NetBeans 8
- 從Excel到Python數據分析:Pandas、xlwings、openpyxl、Matplotlib的交互與應用
- Implementing Microsoft Dynamics NAV(Third Edition)
- 百萬在線:大型游戲服務端開發
- Beginning C# 7 Hands-On:The Core Language
- 前端程序員面試筆試真題與解析
- Learning RSLogix 5000 Programming
- 數據分析從入門到進階
- 小學生Python創意編程(視頻教學版)
- RStudio for R Statistical Computing Cookbook