How to Shift cells of a grid (regarding TileMap)

I am trying to make a game and the game i need to
be able to place various objects in a grid.

Since my team decided to use Unity 2D TileMap
i tried to do this with the built in Grid component but
it doesnt really seem to work the way i need.

So this is how grid looks like . 182113-basicgrid.png

But what i need is the following grid .

182114-shifted.png

As you can see there cells are shifted to the Y axis half way.

What i have tried with the built in grid.

  • Copy the original tilemap and move the position to make it ‘shifted’ . (comes with a problem since
    there are two tilemaps)
  • Copy the grid and move the position . (grid looks shifted but the object placed on the tilemap looks the same)

And i searched for possibility to customize Unity built in grid but it doesnt look possible so
Anybody has any idea?? Thanks .

Hi, I just happened to come across this while searching for something else and thought I’d answer if anyone else comes across is.

What it looks like you’re trying to do is actually a hexagonal grid with square sprites which is interesting. This might sound crazy, but if you look at any cell it has 6 adjacent tiles and the placement of these tiles also follows the same principles of a hexagonal grid.,I happened to come across this while searching, but what it looks like you were trying to do is actually a hexagonal grid with square tiles for their sprites.
Might sound crazy, but if you look at any cell it has 6 adjacent neighbors.

Unfortunately, I haven’t dealt with the tilemaps much either and I have no idea whether this idea would cause other problems, but the first thought that came to me was, maybe a workaround is that you always take 4 fields as one unit, so you could then simply move it by half a unit…