Position
These grid methods return the position of specific cells.
GetCellCenter
Returns the center of a given cell. The center is usually the polygon centroid, but it doesn't have
GetTRS
Returns the translation/rotation/scale of a given cell.
Translation will match GetCellCenter.
Rotation is aims to make it so the adjcent cell in a cell direction actually lies roughly where that cell direction implies. E.g.
var cell2 = grid.Move(cell1, SquareDir.Right);
var trs1 = grid.GetTRS(cell1);
var estimatedDirection = trs.Rotation * Vector3.Right;
var actualDirection = grid.GetCellCenter(cell2) - grid.GetCellCenter(cell1);
// Estimated direction will be roughly parallel to actualDirection.
Scale usually matches the cell size, if grids support it.