Hi! Do you have any support for “flying” agents in 2D? What I mean is, I need to ignore the impassable nodes for these specific agents. It’s like they are flying. So, they can go through anything. Does the Pro version support this? Or if not, can you recommend a workaround? Thank you very much!
I don’t know if that would be your case but maybe you can utilize tags to make some units going through some nodes while the other units cannot pass them?
More info is available here: https://arongranberg.com/astar/documentation/dev_4_3_29_25455dbf/tags.html
Yeah, as @nehvaleem mentioned, the tags feature is implemented specifically for this use case. I use this for flying object.
Hi! Sorry for the late reply but will the Tags supersede the Unwalkable Nodes? Because I would like for the agent to walk on Unwalkable nodes also, but only if they are flying. If not, the solution for this would be to make all nodes walkable and then set the Traversable to false for certain agents that cannot fly. Is that right?
Correct. What you’d want to do is:
- Make everything walkable
- Tag all ground obstacles with Tag 1
- Make all ground units treat Tag 1 as not traversable
- Make all flying units able to traverse any tag
If you wanted to create obstacles for flying units as well, you could tag those nodes with Tag 2, and disable traversing for both ground and flying units.