@mhorth Thank you for your feedback! Answering your question: under the hood objects (player in this case) are represented by their position and radius, so I implemented simple sector-circle intersection algorithim. It is nothing sophisticated really, it just checks that circles intersect, and then that object is within a certain angle from the observer's view direction. I cleaned up code a bit, added comments and posted it here: https://pastebin.com/Tk2DRpcB . Hope you will find it helpfull) P.S. Please do note, that it may return some false-positives when object is really close to sector's corners, but I figured it was good enough for game jam at the time)