I have already tried Camera:WorldToScreenPoint, but it still returns true if the part is, say, behind a wall. Is there a built-in function that can tell me if the player can see a part, or would I have to script one myself?

2 comments

2

You can raycast parts to see if they are within the field of view.

1

Using WorldToScreenPoint plus a few rawcasts is really the only good way to do this, since we don't have direct access to the renderer.