cinemachine confiner not working(maybe -^-)

HI!
im a beginner in unity3d , i use a Cinemachine in my project, and add a confiner
8060663--1041044--upload_2022-4-19_22-55-23.png
the Confiner looks like

but when i enter my game , i can still see the skybox

i don’t know what wrong with my project

Thanks in advance
Orz !!

If you switch the main camera from perspective to orthographic, the CM Confiner will show a new option: confine screen edges. Enable that.

Alternatively, you can use the CinemachineConfiner2D extension, which will confine screen edges even with a perspective camera (however, your art looks pretty 2D so it’s not clear to me why you have a perspective camera).

i just follow the unitylearn lesson,maybe i did something wrong.
i’ll try the orthographic,thank you very much, ♪(゚▽^*)ノ⌒☆ !

It worked ! Thank you!:slight_smile:

1 Like