File:Detecting Camera Obstructions in Project Spark

Description
This video shows how to detect whether there is an object or some terrain between your character and the camera position. For this demonstration, the music is faded when objects or terrain obstruct the view. This was inspired by the game Fez, which has a similar mechanic for fading music when your player is behind the scenery.