/// <summary> /// Gets the closest node index to a given position (Slower but guaranteed to be accurate) /// </summary> /// <param name="pos">The position to test against</param> public int ActualClosestNodeIndexTo(Vector2 pos, bool checkObstructions = true) { return(NodeNodeIndexQuadTree.ActualClosestIndexTo(pos, checkObstructions)); }
/// <summary> /// Gets the closest node index to a given position (Slower but guaranteed to be accurate) /// </summary> /// <param name="pos">The position to test against</param> public int ActualClosestNodeIndexTo(Vector2 pos) { return(NodeNodeIndexQuadTree.ActualClosestIndexTo(pos)); }