Minesweeper. I need the object to diagonally raycast without it hitting the sides, so if I raycasted down and to the left, I need to make sure it doesn’t hit the blocks to the originals left and down.
The white square (not sure if the image is transparent, if it’s not imagine the white square being diagonally across from the green) is casting a raycast, which is at 225 degrees. However, the raycast also hits the red blocks, which I don’t want. The blue is the raycast.