How to modify the radius of the AI Crowd Manager's Sampling Pattern?

While testing Detour Crowd AI on a Character with no root motion during my research about How to make Detour Crowd AIController work with Root Motion? , I noticed that the dimensions of the Sampling Pattern of the AI Crowd Manager depend on the Max Walking Speed actor parameter:

I tried to play with the Crowd Manager parameters in Project Settings (I even created a custom pattern) because I need my character to start avoiding the obstacle way in advance than it currently does, but I had no no succsess.
Is the radius somehow hardcoded to the walking speed or there’s a way to modify it with some other parameter than the Max Walk Speed??

1 Like

Anyone?

UCrowdFollowingComponent* CrowdComp = FindComponentByClass<UCrowdFollowingComponent>();

CrowdComp->SetCrowdAvoidanceRangeMultiplier(2.0f); // default = 1.0

const FVector::FReal* p = DetourAvoidanceDebug->getSampleVelocity(Idx);
const float sr = UE_REAL_TO_FLOAT_CLAMPED_MAX(DetourAvoidanceDebug->getSampleSize(Idx) * InvQueryMultiplier);
const float pen = UE_REAL_TO_FLOAT(DetourAvoidanceDebug->getSamplePenalty(Idx));
const float pen2 = UE_REAL_TO_FLOAT(DetourAvoidanceDebug->getSamplePreferredSidePenalty(Idx));

	FVector SamplePos = Center + Recast2UnrealPoint(p);