Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Find tilemap tile that collided OnTriggerEnter2D

Discussion in '2D' started by coolblue2000, Jun 15, 2018.

  1. coolblue2000

    coolblue2000

    Joined:
    May 7, 2015
    Posts:
    24
    How do I find the tile that I collided with when it is a trigger?

    I can only seem to get hold of the tilemap gameobject.

    Either that or stop the player object from being affected by the collision if I do not use a trigger...
     
    Last edited: Jun 15, 2018