Used to detect objects between the player and the main camera with a certain layer configured on it (Transparent Mesh), allowing to keep collisions with them but seeing through them and fade their meshes to keep the player visible on screen.
This is used on certain objects of the scene in different games, like columns, certain walls, trees, etc…. and in most games with an isometric or top-down view.
It contains the main camera used for the controller, including:
It is the main camera manager for the player, taking care of the camera on a free view (third, first-person camera) and in locked view through the locked camera system (fixed camera, top-down, isometric, point and click, 2.5d, etc…).
It also manages the different camera states configured on the camera and the collision with surfaces, along the lock-on targets on the screen.
Used to fade the player’s materials smoothly when the camera is close enough to it, so the camera view is not blocked by its meshes, something made in a lot of games in third person.