I'm looking to make a stealth-based AI for a game that some friends and I are working on, although I don't know what to do for the monster's vision. My ideas so far have been:
Raycasting, I came up with this idea before I really knew what it was and realized I would have to do hundreds and hundreds of raycastings per second to cover the entire "FOV" of the monsters.
Welding cones made of corner bricks to the monster's face, problem with this is that the cone would make the monster turn slow.
Using a script to position cones from the above idea in-front of the monster's head, simulating a line of sight, while allowing the monster faster turning.

4 comments
This is not a request site!
No idea, good luck though. I would probably go forward with raycasting if I were you, since you wouldn't have to cover every area with rays since characters are kind of fat, they wouldn't be able to hide in small gaps. between rays.
@xImmortalChaos I'm not asking for someone to do the scripting, I'm asking if there's any other ways to do it. Fortunately @damagex443 was nice enough to give me an example script to use.
@Perci1 Thanks for the feedback. I've got a functioning FOV system with help from @damagex443 that's using raycasting