# NavMesh - Distance from wall?

**URL:** <https://forums.unrealengine.com/t/navmesh-distance-from-wall/385145>\
**Category:** World Creation\
**Tags:** Navigation, distance, unreal-engine, navmesh, walls, pawn, question\
**Created:** [February 16, 2017, 6:09pm UTC](https://forums.unrealengine.com/t/navmesh-distance-from-wall/385145 "2017-02-16T18:09:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gnougnou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gnougnou](https://forums.unrealengine.com/u/Gnougnou)\
**Post date:** [February 16, 2017, 6:09pm UTC](https://forums.unrealengine.com/t/navmesh-distance-from-wall/385145/1 "2017-02-16T18:09:27Z")

</div>

Hello everybody !

I have a question about NavMesh and distance to obstacle : Is there a way to modify the distance between an obstacle and the NavMesh “green zone” so that bigger characters don’t glitch into the walls ? I need it to be bigger just for a few pawns, not for all !

I’m taking about that :

[https://image.noelshack.com/fichiers/2017/07/1487268396-distance.jpg](https://image.noelshack.com/fichiers/2017/07/1487268396-distance.jpg)

Thanks ! 🙂

---

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [February 17, 2017, 2:50am UTC](https://forums.unrealengine.com/t/navmesh-distance-from-wall/385145/2 "2017-02-17T02:50:06Z")

</div>

Go to Project Settings \> Navigation System \> Supported Agents and make sure you have an entry for every distinctive agent “type” you want to support. Note that every entry will have a separate navmesh instance, you might want to keep it as low as possible, for memory’s sake.

Cheers,

–mieszko

---

<div class="post-metadata">

**Author:** ![Gnougnou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gnougnou](https://forums.unrealengine.com/u/Gnougnou)\
**Post date:** [February 17, 2017, 1:05pm UTC](https://forums.unrealengine.com/t/navmesh-distance-from-wall/385145/3 "2017-02-17T13:05:02Z")

</div>

Amazing ! Thanks for your help 🙂
