Closed alcoranpaul closed 1 month ago
probably should change the Width and Length accordingly
Has to do with GetNeighborhood(GridPosition basePosition, int Width, int Length)
GridPosition pos = new GridPosition(basePosition.X - widthOffset + i, basePosition.Z - lengthOffset + j);
the same with:
GetNeighborhood(GridPosition basePosition)
GetOuterNodes(GridPosition basePosition, int Width, int Length)
GetInnerNodes(GridPosition basePosition, int Width, int Length)
But it probably not the case since GetNeighborhood
functions should only return List of GridPositions and should not validate them
When Getting outer nodes and not the entire room is spawned it (say half the room). the room's
OuterNodesPosition
does not contain all the nodes