Author Topic: Detecting and object in a player's field of view  (Read 388 times)

I need to detect whether an object is within the player's default FOV - 90 degrees. I have looked through Rontondo's Zombie mod, however that only contains code to tell whether you are looking directly at the object, this needs to be able to return true even if it is in the corner.


That's the exact thread I thought of lol