The Camera follows the player but doesn’t go past walls to reveal anything outside of the room. The main issue I’m having is my level is made of multiple rooms and hallways so a singular box collider in the cinemachine confiner doesn’t take into account the different shapes. If someone could point me in the right direction that would be greatly appreciated. Thanks in advance!
thanks for the reply! I’m not seeing a CinemachineCollider2D option anywhere. my cinemachine version is 2.6.11 and it’s the latest version I can get for my version of unity which is 2020.2.2f1. Using the regular cinemachine confiner set to 2d doesn’t seem to work for me.
.
I think it’s because my camera doesn’t stay at the same height so it just moves past the collider.
Sorry, my mistake. I meant to write CinemachineConfiner2D. You’ll need to upgrade Cinemachine to at least 2.7.x. I would recommend 2.8.3. It works with your version of Unity.
Ah ok now I see. I didn’t notice the other versions drop down in the package manager, sorry about that. Is the CinemachineConfiner2D compatible with 3D scenes? My camera doesn’t seem to be confined at all and its offset far from where the player it’s set to follow is. It still looks like its moving with the character though. Just to be clear my scene is made of all 3D assets and my camera looks down at about a 54 degree angle at the character.
Im not sure. some of the assets look like they have been modelled to fake an exaggerated perspective but i was able to get a similar effect playing with the settings on a perspective camera. Unfortunately, i never did get this working quite the way i wanted it