I have a transform at world position (-1.62,-0.18,0). With it I try to do the following:
void Awake()
{
var startNodePath = AstarPath.active.GetNearest(_startPathPoint.position, NNConstraint.None).node;
Debug.Log(startNodePath.position);
}
But the node that finds is really far for some reason: ( -1620, -160, 0)
I really don’t understand this.
This is the graph settings btw.