Flank Task

pegasusejder

New member
1721285594087.png

1721285618110.jpeg

I'm having a problem with the Flank task. There are currently 20 agents who will attack another group of 20 agents who are enemies but cannot attack. Because, as seen in the first picture, they are pushing each other into groups of 3. As seen in the second picture, 3 agents are trying to go to the same point and pushing each other, so they cannot get into position and attack. This is not much of a problem when the number of agents is low, but we plan to put the number of agents at 20 or more. What can I do about this?

And while player agents are moving, enemy agents are also moving. As the enemy agent moves, the player's agents try to retake a flank position, which never ends. Is there anything that can fix this?
 
You could increase the separation of each agent allowing them to have more spacing.

And while player agents are moving, enemy agents are also moving. As the enemy agent moves, the player's agents try to retake a flank position, which never ends.
Maybe increasing the stopping distance?
 
You could increase the separation of each agent allowing them to have more spacing.


Maybe increasing the stopping distance?
Unfortunately, I increased the formation separation of the enemy army, the stopping distance and the separation of flank themselves, but they are still trying to go to the same place in groups of 3.
 
The separation should be all that's needed. Do you have two different formations running? Besides that, if you debug SetPosition can you see why it's returning the same point? Each task has its own index that should cause the separation
 
I created a behavior only for Flank and when it is going to attack it switches to this behavior. Behavior works properly and no other formation or behavior works at that time. I will report the situation here again after debugging SetPosition. Thanks for your answers.
 
Back
Top