title: Collision check with RayCast2D on tilemaps
body: <p>I'm trying to make a simple 2D mining game in godot. I need to make RayCast2D to locate tiles but it just ignores them, so even the start of the script isn't working.
  I checked, raycast is enabled and looking in the right direction.
  Here is the script I use to check if raycast collides.</p>
  <pre><code>func tile_finding():
     if is_colliding():
        print(&quot;ok&quot;)
  </code></pre>