IsPathPossible(List<GraphNode> nodes, int tagMask) example

I do not understand how to use this method. I am currently using IsPathPossible(nodeA, nodeB) and it works great, but now I want to add tags so I have to pass a list of all nodes in the path.

How am I supposed to get these nodes when all I know is start and end position? And is it enough to pass seeker.traversableTags if I only want to find paths on tags that that agent can traverse?

A simple code example would be great.

Hi

IsPathPossible(a, b) is equivalent to IsPathPossible([a,b]). So you can just take your two nodes and put them in a list, and it will work with the tag overload.

Yes