# Why "RVO Avoidance" does not work when pawn is cotrolled by AAIController?

**URL:** <https://forums.unrealengine.com/t/why-rvo-avoidance-does-not-work-when-pawn-is-cotrolled-by-aaicontroller/1818487>\
**Category:** AI\
**Tags:** npc, unreal-engine, avoidance, question, CPP\
**Created:** [April 24, 2024, 6:00am UTC](https://forums.unrealengine.com/t/why-rvo-avoidance-does-not-work-when-pawn-is-cotrolled-by-aaicontroller/1818487 "2024-04-24T06:00:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [April 28, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/why-rvo-avoidance-does-not-work-when-pawn-is-cotrolled-by-aaicontroller/1818487/3 "2024-04-28T15:45:26Z")

</div>

Hi, I haven’t setup RVO avoidance from c++, but in the character movement settings in blueprint (see e.g. step 4 here [Using Avoidance With the Navigation System in Unreal Engine](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-avoidance-with-the-navigation-system-in-unreal-engine?application_version=5.3)), did you try it with those settings?

And for crowd avoidance, you would need to set it to use the UCrowdFollowingComponent instead of the default path following component in your AIController (don’t know why its like that instead of inheriting), post #3 here [Missing DetourCrowdAIController in C++ - #3 by chrudimer](https://forums.unrealengine.com/t/missing-detourcrowdaicontroller-in-c/474481/3)

---

_[View the full topic](https://forums.unrealengine.com/t/why-rvo-avoidance-does-not-work-when-pawn-is-cotrolled-by-aaicontroller/1818487)._
