- Home /
Get individual tile under a Tilemap Collider
Hi, I have a common structure of Grid > Tilemap / Tilemap Collider. I'm using a Raycast to detect if my assets are being clicked. The Raycast collides with the tilemap collider properly but I can't find a way to get informations on the specific tile being clicked. For instance hit.collider.gameObject returns a reference on the whole tilemap. Thanks your help !
colliders.png
(107.1 kB)
Comment
Your answer
Follow this Question
Related Questions
How do I make the Collider match the sprite? 2 Answers
Need help with size of Tiles! 2 Answers
Get sprite of Tile 2 Answers
Tilemap: Resizing Tiles? 1 Answer