You need to give the Raycast a direction
Forward for example would be 0 0 1
That being said, I feel like for what you are doing you should figure out what tile the enemy is facing and if the Player is on that tile, not really through raycasts, though I guess that's just my opinion