Is there any possible way to know whether a part is within your field of view? I have looked around in the Wiki, and I haven't found anything of the sort... So if there is any way to create a method that can detect objects within your field of view, that'd be nice to know! Thanks in advance!
EDIT: Perhaps the term "Line of sight" would be better instead of FOV? I want to detect if the player can see a part, that's all.

2 comments
This doesn't work, because the Scan() method is never called, so the Parts array will always stay empty, and so the GetPart() method returns nothing. Am I supposed to call Scan() somehow?
Oops I'll fix it