So, I can’t find a direct answer to this question, so I’ll break it down.
Long Explanation:
I want an NPC that follows the player. However, I want it to only follow the player when the player is in the NPC’s view. However, the problem I’m having, is that I want the NPC to detect behind, and to the sides of it too, the current script I have only detects face-on raycasts.