This seems like such a simple thing to want, but for the life of me I can't figure it out.
When my character's sprite collides with a tilemap tile, how do I get the Tile ID of the tile in the collision?
If I do the whole:
TilemapObstacles.TileToPositionX(TilemapObstacles.PositionToTileX(Player.X))[/code:3e6dfuw1]
I get the tile position of the Player, not the tile involved in the collision. Ie the tile returned is one position above, below or to the left or right of the tile I'm interested in.
Any help gratefully received....