Problem with A*

I have a problem with A* pro. On scene I have a few agents.
Why can not agents find another path so as to bypass another agent while chasing the player? I mean agents who stay behind.

What should I do to fix this?

Thank you in advance.

You have to understand that pathfinding and local avoidance is a different thing.
As I know there is some implementation of local avoidance in AStar by Aron Granberg but it is a different thing than simply getting a path from one point to another.

Read about “Steering Behaviors” or “Reciprocal Velocity Obstacles” for more info about local avoidance.

I think this will not be easy :frowning:

I fight and I fight, something I did there, but :frowning:


where:
https://arongranberg.com/astar/docs/class_pathfinding_1_1_r_v_o_1_1_r_v_o_controller.php#aa556f51cab496940581eabe2f3c37127

exaple script:
https://arongranberg.com/astar/docs/local-avoidance-integration.php

mobs somehow try to avoid each other, but they slip:

how to setup this for:

??

this example doesnt work in c# :frowning:
https://forum.unity3d.com/threads/working-on-a-ai-steering-behavior-script.127655/

in my project i have this setup:


Instead of IA unit I have IA Path

Hi

Regarding the first errors, those come from you having the 3.x version of the package, not 4.x.
You can find the 3.x documentation here: https://www.arongranberg.com/astar/documentation/3_8_10_b171387/changelog.php