Hi, I’m trying to get the nearest walkable node, however it keeps returning null, because the nearest node to the position is not walkable.
I am currently doing the following:
`
NNConstraint nodeConstraint = new NNConstraint();
nodeConstraint.constrainWalkability = true;
nodeConstraint.walkable = true;
NNInfo nodeInfo = AstarPath.active.GetNearest(_transform.position, nodeConstraint);
`
But the nodeInfo.node and nodeInfo.constrainedNode is always null, even though I know there is a walkable node nearby.
Is it not possible to get the nearest walkable node using the above approach?