I'm using a Raycast2D node to get which tile in a tilemap it's colliding with, but it doesn't detect its Atlas_coords when it's facing to the left or up.
Any ideas?

    qinx by chance, did you check if your raycast is rotating when the player moves? I noticed in the head you are flipping scale to rotate the raycast? Doesn't this just make the raycast flip like a graphic? EDIT: I just noticed this had ### before it, so either it didn't work or maybe you forgot about these?

    • qinx replied to this.

      SnapCracklins It does rotate the scale.x = -5 is to flip the sprite when the mouse is over to the left. the Raycast2D does rotate with it and i tried to use it without the scale.x but the same thing happened

        qinx odd. I am still learning raycasts myself. Have you tried perhaps using areas on all sides of the player and then rotating said object as needed? It's more work but might be worth a go.... Just Github back it up first. 😎

        • qinx replied to this.

          SnapCracklins Have you tried perhaps using areas on all sides of the player and then rotating said object as needed?

          I don’t understand what you are trying to suggest but just to clarify i’m using the raycast2d to mine (remove) a tile from a tile map.