K
K
kre-sod2018-12-13 16:25:43
Unity
kre-sod, 2018-12-13 16:25:43

How to set up different routes for tank bot and soldier bot in Unity NavMesh?

The difficulty is that there are areas in which soldiers cannot walk, and there are those in which tanks cannot travel. All navmesh tutorials only show pathfinding for one agent, but I need different agents to have different areas in which they cannot move. How to do it? Create a nawMesh layer for tanks, and a layer (i.e. another nawMesh) for helicopters (or soldiers, planes, etc.)? Or is it possible to get away with just one "layer"? Important - on the fields in which it is impossible to walk, I have obstacles.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question