# Using NavModifierVolumes to restrict certain agent types

**URL:** <https://forums.unrealengine.com/t/using-navmodifiervolumes-to-restrict-certain-agent-types/471960>\
**Category:** World Creation\
**Tags:** nav-agent, unreal-engine, navmesh, question\
**Created:** [September 26, 2020, 3:32am UTC](https://forums.unrealengine.com/t/using-navmodifiervolumes-to-restrict-certain-agent-types/471960 "2020-09-26T03:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b20387d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b20387d](https://forums.unrealengine.com/u/anonymous_user_7b20387d)\
**Post date:** [September 26, 2020, 3:32am UTC](https://forums.unrealengine.com/t/using-navmodifiervolumes-to-restrict-certain-agent-types/471960/1 "2020-09-26T03:32:49Z")

</div>

I’m trying to implement creatures that can “fly”, which at the moment means they can path over bodies of water. I initially tried to create NavModifierVolumes on the bodies of water and giving the volumes a Nav Area with only flying agents being supported.

I created several agent types in the project settings, but could not find a way to explicit flag Actors as being a particular agent type. From looking online, it sounds like the navigation system infers the agent type by looking at size of the Actor’s capsule (which doesn’t sound like a great system) but in this case the actors don’t seem to respect the NavModifierVolumes anyways.

Creating different agent types actually stopped all my actors from being able to path until I removed the default “Crowd Manager Class” from the project settings. I’m not entirely sure why.

The NavModifierVolumes do show up in-game when I display the navmesh and select the navmesh specifically for flying agents, but none of the actors seem to respect that restriction.

How do I explicitly flag Actors as particular agent types, and how do I make them respect the NavModifierVolumes restrictions?

---

<div class="post-metadata">

**Author:** ![imtrobin2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imtrobin2](https://forums.unrealengine.com/u/imtrobin2)\
**Post date:** [July 24, 2023, 6:04am UTC](https://forums.unrealengine.com/t/using-navmodifiervolumes-to-restrict-certain-agent-types/471960/2 "2023-07-24T06:04:33Z")

</div>

Hi ,did u find a solution?
