Search Unity

Detection Raycast2D and TileMapCollider2D

Discussion in '2D' started by Givago, Aug 21, 2020.

  1. Givago

    Givago

    Joined:
    Oct 22, 2015
    Posts:
    27
    Hi,
    I'm working/studing in a dungeon test, and now I want to detect the wall with Raycast2d.

    BUT, the raycast2D didn't identified the tilemapcollider2D (I tested with collider2D and worked), why the raycast2D didn't work with TileMapCollider2D?

    There a think can I do?