Separate but linked platforms are considered the same Area

I have two platforms. They are connected with Link2’s.

Some Agents are allowed to use these links, some aren’t. For this I am using traversableTags on the Seeker. This works great.

Now my problem is that I want to use GetNearest and constrain it to the reachable nodes for the agents that can’t use the links. I tried using NNConstraint.constrainArea, but to my surprise the two platforms are considered to be the same Area. I am guessing this is because of the links? Any way I can disable that?

Or should I just go about this problem a different way? I am trying to get the agents to move to a position, and when they can’t reach it (PathUtilities.IsPathPossible(nodes, seeker.traversableTags) == false) they should try to go as close to the edge as possible.

Hi

The area calculation does not take tags into account. However, you can enable path.calculatePartial.

Thanks, I’ll check that out!