# How make AI avoid static actors?

**URL:** <https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198>\
**Category:** AI\
**Tags:** unreal-engine, UE4, avoidance, Blueprint, question\
**Created:** [May 11, 2015, 1:09pm UTC](https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198 "2015-05-11T13:09:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![glu\_ka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@glu\_ka](https://forums.unrealengine.com/u/glu_ka)\
**Post date:** [May 11, 2015, 1:09pm UTC](https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198/1 "2015-05-11T13:09:24Z")

</div>

How make AI avoid static actors? AI should not be close to it and run in a circle. I want path built beforehand.

---

<div class="post-metadata">

**Author:** ![kishoreven](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kishoreven](https://forums.unrealengine.com/u/kishoreven)\
**Post date:** [May 11, 2015, 1:28pm UTC](https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198/2 "2015-05-11T13:28:55Z")

</div>

Hi,

If you know how to build navmesh already, then making AI actors avoid static actors is pretty simple. You have to open up the static mesh actor by double clicking it and then in the properties, you have to find “Navigation”. Under navigation section, you have to check IsDynamicObstacle to true.

 ![42214-ueanswer.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/8/54806a61d9528a4d9727b5972e6b7b10de84b580.jpeg)

---

<div class="post-metadata">

**Author:** ![glu\_ka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@glu\_ka](https://forums.unrealengine.com/u/glu_ka)\
**Post date:** [May 13, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198/3 "2015-05-13T16:20:55Z")

</div>

I have navmeshBoundsVolume, AI and staticMeshActor. I’ve configured StaticMesh as u said, but it didn’t help. AI still doesn’t avoid obstacles, and crashed into him. But if I create NavModifierVolume with NavArea Null, and AI avoids it correctly. Please tell me my mistake?

---

<div class="post-metadata">

**Author:** ![kishoreven](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kishoreven](https://forums.unrealengine.com/u/kishoreven)\
**Post date:** [May 14, 2015, 3:23am UTC](https://forums.unrealengine.com/t/how-make-ai-avoid-static-actors/318198/4 "2015-05-14T03:23:22Z")

</div>

Have you checked if you are static mesh has a well defined collision volume. Can you share some screen shots!? I am doing the exact same thing and it seems to work for me
