How to detect if a trigger box has entered an object?

So I have a 1-dimensional trigger box in front of my camera so that I can trigger things when I look at them. I want to know if it’s possible that an object might detect when it enters the trigger box rather than the trigger box detecting when an object enters it.

Heloo Matthew

Yes, but… :smiley:

First, Maybe you should use any of this other ways to know whats in front of camera (and not trigger detection):

Raycast

Renderer.isVisible

Renderer.OnBecameVisible()

Renderer.OnBecameInvisible()

After this, answering your question. If you pretend to be the object who detects if has entred the camera trigger, IT must be done with a script attached to that object.

Bye!