Nice job! I think the ray casting is a good choice, and I like the detection zone too. I'm interested in see how the enemy behavior turns out.
Thanks!
Since it's 3D I'd like to stick to simple solutions and ray casting seemed to be the best and most efficient.
I'm a bit concerned for the enemy about the walls and similar "path-finding" stuff. When I implemented player chasing in 2D there were no obstacles...but in 3D there can be easily a pillar or a higher wall and the enemy should avoid hitting it - assuming the specific type of enemy is clever enough to do so.
I've never done any pathfinding so far in games so I'm courious what solutions I can find for Godot.