I have 2 grid graphs.0 & 1
1 is almost the same as 0 but it’s for a massively bigger vehicle so there are many more unwalkable nodes.
When I attempt to create a random path for a large vehicle (code below) it always returns a search through graph 0 even if I specify the graph mask to use. I only ever want the search to be in the graph I specify and never to search all.
What am I doing wrong? How do I force A* to use the graph I select, and only that graph?
Thanks
RandomPath randomPath = RandomPath.Construct(currentSeeker.transform.position, theGDistanceToMove);
randomPath.nnConstraint.constrainDistance = false;
randomPath.nnConstraint.graphMask = 1 << 1; //use graph for big vehicles!
currentSeeker.StartPath(randomPath, OnPathComplete);