Change to spherecast with radius of 0.25 so its more forgiving to hit a target
Use a layer mask of things you can actually see so you dont have invisible colliders blocking detection, allow detection through transparent objects such as chainwire fences
Ignore trigger hits so things like prevent building, radiation, safezone etc volumes don't block the raycast