bevy_ecs_tilemap icon indicating copy to clipboard operation
bevy_ecs_tilemap copied to clipboard

Bug: `TileStorage` is not updated after `TilePos` is updated

Open Piturnah opened this issue 2 years ago • 1 comments

It is demonstrated in the move_tile example that updating the value of an entity's TilePos is the intended API for moving a tile (without despawning and respawning it). However, if you do it this way then the corresponding map's TileStorage won't be updated and future lookups will be broken.

Piturnah avatar Sep 11 '23 15:09 Piturnah

You need to manually update the tile storage for now.

StarArawn avatar Sep 23 '23 14:09 StarArawn