How can I restrict where certain characters can go in a navmesh?

Hello im trying to create different navmesh areas where only certain AI controlled character types can access. For example Character Type A can only access Area A but Character Type B can access areas A and B.

I see that I probably need to create a class inherited from a NavArea and then setup a navmodifier using this class for this, but I’m not seeing how to tell characters that they can only access certain navareas.

Any insight would be appreciated in the right way to solve this problem.

Ive been trying to work this out too. I noticed that you can create different nav meshs by adding different supported agents in the navigation system settings (under project settings).

The navigation system itself then uses the nav mesh for the agent which best matches the width/height of your AIs movement component nav agent properties.

What I havent found as yet is how to tell it to use a specific nav mesh directly by either using the support agent index or name.

Im trying to do the same thing, i looked at the code and it doesn’t look like we can do it easily, i mostly do blueprint stuff so im not the best person to tell. Can anyone tell if they have done it, or a not difficult way to do it? thx