How do I make my camera not able to see through certain parts?

I’ve made a window for my place, however, I want players to not have their cameras pass through the parts, instead basically how when you adjust your camera near a wall, your camera collides instead of going through a wall.

I played around with transparency, different materials and turning Collisions on and off to see if I can achieve what I needed, sadly I’ve got nothing.

I believe you are looking for “CanCollide” property in a part.

1 Like

“CanCollide” is turned on, however, I still achieved no result

Check out this post.

1 Like

The solution to that doesn’t seem to work now. Upon checking ‘ZoomController’ I was unable to find the exact script that he has.