Hi everybody, I am currently having a issue while trying to get the detour crowd component work. This is my code:
AParsec42AICharacterController::AParsec42AICharacterController(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass<UCrowdFollowingComponent>(TEXT("PathFollowingComponent")))
{
enemyToAttack = nullptr;
gameIsPaused = false;
pawnMovementDestination = FVector::ZeroVector;
bAllowStrafe = true;
moveStatus = EPathFollowingStatus::Idle;
}
when I try to move a character towards another, it doesen’t avoid it. The same code has been used on another project for a while without any problem. How can I solve this problem?