Maintaining list of obstacles per AI unit


#1

Hi, I am currently experimenting with the free version of A* to try to build my AI solution. I would like each AI unit to maintain a list of objects that it sees as obstacles (i.e. enemies) without the object becoming an obstacle for every other AI unit so I wouldn’t want to use tags or layers. A scenario would be an AI unit walking around investigating another AI unit and making a determination of it being friend or foe. Is that possible, do I need the pro version? I have scripts that would make the determination I just want to know if I can have a single AI unit avoid another AI unit dynamically.

Thanks!
Luke


#2

Hi

This doesn’t seem like anything related to pathfinding per say, but something more AI related.
Though perhaps you are interested in https://arongranberg.com/astar/docs/turnbased.html