# Ignoring specific actors/components per Navigation data class

**URL:** <https://forums.unrealengine.com/t/ignoring-specific-actors-components-per-navigation-data-class/2074294>\
**Category:** C++\
**Tags:** navigation-mesh, Navigation, unreal-engine, question\
**Created:** [October 18, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/ignoring-specific-actors-components-per-navigation-data-class/2074294 "2024-10-18T13:35:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atalvan.wolcen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atalvan.wolcen](https://forums.unrealengine.com/u/atalvan.wolcen)\
**Post date:** [October 18, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/ignoring-specific-actors-components-per-navigation-data-class/2074294/1 "2024-10-18T13:35:11Z")

</div>

Hi, I have added an agent type / Nav Data to my project which is used with an **ARecastNavMesh** dervied class in order to have another set of nav geometry (not used for AI pathfinding, but for something else).

For some actors in my level, I would like them to contribute to navmesh generation for the default agent/ AI agent type, but have them be ignored when generating my secondary nav data. From what I can see, both **CanEverAffectNavigation** and **INavRelevantInterface** have a way to globally disable navmesh contribution, but I’m not sure where to filter out actors for each ANavigationData.

Does anyone know how to achieve it?
