- Home /
Question by
alexanderameye · Feb 21, 2014 at 05:43 PM ·
cameracollisionthird-personcameras
Prevent camera from going trough objects?
I have a third-person camera script in Unity, but while playing, it goes trough an object if my character walks next to a building, and the building gets like transparent. How can I make it so that the camera just slides along the building without going trough it? Thanks a lot!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613134250im_/https://answers.unity.com/themes/thub/images/avi.jpg)