![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | System_Error |
Hi all.
Just a little question regarding TileMap. I’m trying to get navigation working, but I need to get the centers of my tiles in Global Coordinates so the vehicle can move to each one on its way to the destination tile. I also need to convert the Global Coordinates of the mouse cursor to the nearest Cell position on the TileMap, so I can set a destination tile.
I ask this because my tank goes flying off with a positive Vector2 at Ludicrous Speed. (Well, not exactly, but if it could, it’d be plaid.)
Oh, and it makes a fuss if the tile’s Global Position is negative in either X or Y.