How to use camera as a trigger?

Hi, how can I use my camera as a trigger? I want to change a material when the camera is near an object, so thought about using a trigger but it only accepts a mesh.

You could always “cheat” by parenting a cube to the camera and then use the cube as the trigger.

1 Like

Thanks, @PirateJC will give it a try.

– edit
Works perfect :), just set cube.visibility=0 to avoid showing up.

1 Like