When i use RVO Avoidance in a pawn controlled by an APlayerController it does work well… is impossible touch other pawn…
But when i use RVO Avoidance in a pawn controlled by an AAIController it seem does not work… My NPCs can touch each other without problems.
What i need is exactly the opposite behaviour.
This is the only setting i modified (UCharacterMovement):
if (Controller->IsA<AAIController>())
{
bUseRVOAvoidance = true;
AvoidanceConsiderationRadius = 1000.f;
AvoidanceWeight = 0.5f;
SetAvoidanceEnabled(true);
}
Why this happen?
I need to do something else?
Thank you so much!!
Edited:
And this happen if i try to inherit from ADetourCrowdAIController (UE5.4)
0>Module.Catharsis.8.cpp.obj: Error : LNK2019: símbolo externo "private: static class UClass * __cdecl ADetourCrowdAIController::GetPrivateStaticClass(void)" (?GetPrivateStaticClass@ADetourCrowdAIController@@CAPEAVUClass@@XZ) sin resolver al que se hace referencia en la función "public: static class UClass * __cdecl ADetourCrowdAIController::StaticClass(void)" (?StaticClass@ADetourCrowdAIController@@SAPEAVUClass@@XZ)
0>Module.Catharsis.8.cpp.obj: Error : LNK2019: símbolo externo "public: __cdecl ADetourCrowdAIController::ADetourCrowdAIController(class FVTableHelper &)" (??0ADetourCrowdAIController@@QEAA@AEAVFVTableHelper@@@Z) sin resolver al que se hace referencia en la función "class UObject * __cdecl InternalVTableHelperCtorCaller<class ATheAIControllerBase>(class FVTableHelper &)" (??$InternalVTableHelperCtorCaller@VATheAIControllerBase@@@@YAPEAVUObject@@AEAVFVTableHelper@@@Z)
0>Module.Catharsis.8.cpp.obj: Error : LNK2019: símbolo externo "public: virtual __cdecl ADetourCrowdAIController::~ADetourCrowdAIController(void)" (??1ADetourCrowdAIController@@UEAA@XZ) sin resolver al que se hace referencia en la función "public: virtual __cdecl ATheAIControllerBase::~ATheAIControllerBase(void)" (??1ATheAIControllerBase@@UEAA@XZ)
0>TheAIControllerBase.cpp.obj: Error : LNK2019: símbolo externo "public: __cdecl ADetourCrowdAIController::ADetourCrowdAIController(class FObjectInitializer const &)" (??0ADetourCrowdAIController@@QEAA@AEBVFObjectInitializer@@@Z) sin resolver al que se hace referencia en la función "public: __cdecl ATheAIControllerBase::ATheAIControllerBase(class FObjectInitializer const &)" (??0ATheAIControllerBase@@QEAA@AEBVFObjectInitializer@@@Z)
I’m sure i have the AIModule:
Anyway i think i don’t need it… i think RVO Avoidance can be enough.