- Home /
How to create multiple nav meshes for different area types
I'm hoping someone can help me with this. I've been working with nav meshes/agents and related features, and in the videos and documents I've been reading I haven't been able to figure this out. How do you deal with different types of terrain near each other that require different areas of nav mesh? I know about the volume modifier, but that only works in a cube shape.
For example, if I have a square piece of terrain with a river winding through it, how do you set the nav mesh to see the river as a different type of terrain area? Both so that it's impassable to agents that can't go in the water, but also so that agents that can go in the water can use it (such as boats). Is the only way to do this to tedious use the the NavMeshModifierVolume to approximate the area of the river with cubes, or is there another way?
Your answer
![](https://koobas.hobune.stream/wayback/20220613051412im_/https://answers.unity.com/themes/thub/images/avi.jpg)