Hey everyone!
I’m currently working on a little thing involving the Grid component, and for debugging I’m drawing the Cell Centers.
However, I’ve noticed a few strange things.
When the Grid’s Cell Layout has been set to Rectangle, the returned position from Grid.GetCellCenterWorld will be “behind” the grid’s plane by 0.5 units.
The same offset is there when it’s been set to Isometric.
When the Cell layout has been set to Isometric Z as Y, not only is there that offset along the plane normal, but the returned position will also have a slight offset of 0.3 towards the top corner of each tile.
Hexagonal layout behaves how I’d expect, giving the exact center position of the tile.
Why is this happening and is there a way to adjust this?