Target position is in the radius of the locked agent

Can you check if the target position is in the radius of the locked agent?

Due to this problem, another agent wants to keep entering that location.

The components used are:

Seeker + RVOController + RichAI
RVOController Seeker

rvoController.locked set true when the target location is reached. Until move again.

Hi

The beta version (https://www.arongranberg.com/astar/download) has some additional code that makes the agents stop if they detect the destination is already occupied. It is enabled by a toggle on the AIPath/RichAI script. That might help you.

There is no built-in function to check if the destination is inside a locked agent. You’ll have to do that check yourself.