Construct Paths without Seeker for a specific graph using NNConstraint

Is it possible to construct a path without a seeker for a specific graph usign NNConstriant or am I required to create a seeker per graph (/agentRadius) for this?

Hi

The Seeker is just a helper class, you can skip it if you want.
See the ‘Using AstarPath directly’ section on this page: https://arongranberg.com/astar/docs/callingpathfinding.html
You can set the graph mask using for example

path.nnConstraint.graphMask = 1 << graphIndex;
1 Like

Another sign I should stop working today :slight_smile: Seems so obvious and even is well documented.

@aron_granberg, Thank you, Aron!

1 Like