getBlockCenterPosition method
Get the position of the center of the surface of the isometric tile in the cartesian coordinate space.
This is the opposite of getBlock.
Implementation
Vector2 getBlockCenterPosition(Block block) {
final tile = effectiveTileSize;
final result = getBlockRenderPosition(block) +
(Vector2(tile.x / 2, tile.y - effectiveTileHeight - tile.y / 4)
..multiply(scale));
return result;
}