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

Camera is going through walls?

I have a script that changes the camera subject, but whenever i go back to the player it allows the players camera to go through walls.

Is there some kind of property in the camera that stops this?

2 comments

0

Could you put the script here?

0

All i'm doing is changing the camera subject. That's it.

1 answer

I don’t mess around with the camera that much, but I found a property in the player called DevCameraOcclusionMode. It has two enums, one letting the camera go through walls and the other opposite. Try changing it to “Zoom”(0).

If that doesn’t work, try messing around with CameraType.

1 comment

0

Hmm, i thought this would work but for some reason it still always goes through walls. hmmm :\ Not sure whats going on.

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