Polarith AI
1.8

◆ innerCatchUpRadius

float innerCatchUpRadius = 0f
protectedinherited

Inner radius within the agent keeps its to keep next to the target position.

This radius must be greater or equal to the ArriveRadius, but smaller than the OuterCatchUpRadius. This is necessary if the formation rotates, since the outer agents need to move a longer distance. The magnitude is constantly 1 between the ArriveRadius and the InnerCatchUpRadius, or 1 + a value between 0 and 1, based on the distance to the InnerCatchUpRadius and OuterCatchUpRadius, times the CatchUpMultiplier.

Imprint