It would be fantastic if you could make the Tile ID available when a collision is detected with a Tilemap.
I believe the collisions use vectors, and they span across multiple tiles if the edge of one tile continues with the edge of the next- so multiple tiles may share the same vector that has the collision.. Finding the collision point on the vector would help, but I'm not sure how to get that, and it would probably depend on what is hitting it.
Develop games in your browser. Powerful, performant & highly capable.
Nowadays, can we detect a tile specifc collision?
For example, if player collide with tile 23 of my tileset, do that.