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?
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?
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.
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.
2 comments
Could you put the script here?
All i'm doing is changing the camera subject. That's it.