/** Marks all AStarRegionNodes inside this bounding box as not occupied. */ public void releaseBoundingBox() { for (int x = westernBound; x <= easternBound; x++) for (int y = northernBound; y <= southernBound; y++) for (int z = upperBound; z <= lowerBound; z++) if (!isOutsideMap(x, y, z)) regionGrid.setTileBlocked(x, y, z, false); }