We have learned how to build a NavMesh, but there are cases where levels are really complex to the point of needing to divide them in several sections; sometimes, this is because there are pitfalls or because we are loading our level programmatically.
Connecting multiple instances of NavMesh
Getting ready
It is important to work on top of objects that have at least one NavMeshSurface component attached.
How to do it...
We need to connect one NavMeshSurface component to another one:
- Locate, via the editor or code, two NavMeshSurface components to connect
- Add the NavMeshLink...