How to i stop camera from seeing past walls?

I don’t want the player seeing past the walls, how do I stop the player from doing this?
I’ve looked everywhere but haven’t found a clear answer.

1 Like

The main method used to look through walls is using shift lock.
Have you thought about turning off the option to use shift lock?
image
Otherwise there isn’t really a way to prevent this other than encasing the outside in a black box so there isn’t anything to see.

add layers of walls
i hope i helped

1 Like

There are many shift lock players (like me) so I don’t want to disable it. I’ll see if making a black box will look good. Hope there is a better alternative…

I think making the walls thicker in dimension works


Still same behavior.
The part is huge but the shift lock trick still works.

I believe this is what you are looking for
Enhanced Camera System - A user-friendly, multi-functional “Shift Lock” module with collision detection - Resources / Community Resources - DevForum | Roblox

Thanks for the link, I’ll look into it!