Maby this sounds stupid, but what on earth do I have to do to make my camera trigger the OnTriggerEnter-function I have set up in my collider?
- my camera is the main camera with a little script for rotation/panning/zooming quite similar to the controls in the 3D-view.
- I have set up a trigger-zone (a simple box) with box-collider set to “is trigger” and with an OnTriggerEnter script attached.
- the trigger-zone itself works if I use the predefined first-person-controler
- the trigger-zone does NOT work with my simple custom camera
I have tried to attach a box-collider to the camera, but it didn’t work. Setting the cameras collider to “is trigger” didn’t work either. What am I missing?