Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there any way to stop a camera from clipping through walls?

Self explainatory. I need to make a good camera script, but the camera keeps clipping through walls.

2 comments

0

What do you mean "Clipping through walls"? I know that you could clip it with MouseLock enabled.. you could disable it so players wouldnt be able to clip their camera.

0

Are you requesting for a script?

1 answer

This has to do with the camera subject. When set to the character's humanoid (which is default), the camera is affected by physical objects such as parts that may be in its way. If, for example, you set it to their torso, it will disregard those objects, moving through them. If your camera is doing this, you have made some change to it at some point, and you'll need to set it back if you don't want these effects.

This discussion is preserved as it was. New answers, comments, and votes are closed.