Just wondering if anyone can recommend a good way to achieve this whilst keeping the screen objects click-able?
Sure, I have a camera translating along the Z-axis inside a tunnel with objects ahead. What I would like is for the objects that approach the camera to fade to transparent when a certain distance away. Now, I have tried an approach using a trigger collider placed in front of the camera that detects the object colliders and fades their renderer. This works well but as both the OnCollisionEnter() and OnTriggerEnter() functions both require collider components, it means that I cannot click through this fading collider box to control the player, etc.
Thanks in advance
Apr 30 '12 at 03:36 PM