How would I be able to detect that the player's camera can see something on their screen? I believe WorldToScreenPoint wouldn't work since I believe it it detects through walls. I could raycast from the character but then that would be based on the model, so the player would have to physically face the object, and I don't know if you can raycast from the camera. To simplify the question:

  1. object must output something when player is able to see it on its camera
  2. must work if player, for example, is in front of a wall but moves their camera in a way that can see the object on the other side
  3. player must not need to physically face the object, it should rely on the camera
  4. should not work through walls, the player camera should need LOS with the object in other to trigger

if you have any question please ask me, i am willing to go more in depth and provide examples if needed.