Hey!

I’m currently looking to replace Unity’s NavMeshComponents by A* because it appears that A* can do what I need. However, I can’t quite get it to work yet. I’m trying to mix a nav mesh (recast graph) and a simple point graph. I’m aware of the other threads on similar topics but haven’t found a solution to this specific problem.

Consider the following sample scenario:

The recast graph is a free roam area, whereas the point graph requires special linear movement. I’d like the agent (red cylinder on the left) to consider both the recast graph and the point graph to find a path to the target (red diamond on the right).

If I enable both graphs in the Seeker’s graph mask, the agent (AIPath, as RichAI doesn’t support point graphs iirc) will try to use the recast graph *only*. It’ll move to the rightmost point on the left nav mesh and just stop there, it will not use the point graph at all. When at that point, however, I disable the recast graph in the Seeker’s mask, then it’ll use the point graph just as intended (of course, only up to the point where it reaches the right nav mesh).

Is there any way to make the agent use *both* graphs and switch automatically as needed, or better yet, actually find a proper path through both graphs? In fact, I cannot see much of a use for the graph mask if one graph is completely ignored if the other is available?

I tried using node links (Link2), but to no avail: they only seem to work connecting two recast graphs, but not a recast graph and a point graph.