Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
1GlF 42
5 years ago

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

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. HeyItzDanniee 252 — 5y
0
Are you requesting for a script? Aimarekin 345 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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.

Ad

Answer this question