Initialize TileMap Custom Transform
Initialize TileMap Custom Transform to same as Cell Size (64). Fixes #30948.
This commit is contained in:
parent
00aabec8bb
commit
0b5a600564
1 changed files with 1 additions and 0 deletions
|
@ -1944,6 +1944,7 @@ TileMap::TileMap() {
|
|||
quadrant_order_dirty = false;
|
||||
quadrant_size = 16;
|
||||
cell_size = Size2(64, 64);
|
||||
custom_transform = Transform2D(64, 0, 0, 64, 0, 0);
|
||||
collision_layer = 1;
|
||||
collision_mask = 1;
|
||||
friction = 1;
|
||||
|
|
Loading…
Reference in a new issue