How do i get the IsPathPossible() function to ignore some nodes

Hi, in my project i have different types of agents all using the RichAI script, some are able to traverse through off-mesh links using NodeLink2, some are not. For the agents that don’t traverse through off-mesh links, i am trying to detect if a path is reachable using the IsPathPossible() function and the problem i am facing is that whenever the Off-Mesh Link Nodes are active, the agents still detect the path through these Off-Mesh Link Nodes. Is there any way of perhaps ignoring these Off-Mesh links for these specific Agents ?

Hi

Currently, I’m afraid that’s not possible without some modifications.
What you can do is to modify the NodeLink2 script to set a specific tag on the nodes it creates. Then you can configure the Seeker component to not allow movement over that tag.

You can also pass a tag mask to the IsPathPossible method which will then be able to ignore some links. However that overload is significantly slower than the IsPathPossible method without a tag mask as it cannot use precalculated information. So keep that in mind.

Thanks for your reply, will give that a try