- Home /
The question is answered, right answer was accepted
Clipping Plane Problem
so im making an fps multiplayer game, my camera clips through walls and seeing the other side, but i found a solution to that, however when i decrease the clipping plane to 0.1 in order for the clipping wall problem to be fixed, there is one tiny problem... there is some sort of a gray line thats obscuring my view wherenever i preview the game... can anyone help me? p.s i also have a separate camera for the gun so it would not also clip through objects, heres the photo.
It could be an actual grey thing in the way -- maybe try it in an open area. But generally it's nicer to have a larger clipping plane and just have the camera further back. It seems funny, but a camera with NCP=10 can be 9,9 units behind a wall and will see right through it.
Oh, I'm sorry to leave you hanging for more than a year xd, unfortunately, there was an actual object obscuring the view, because it was me being new to Unity, I didn't realized that at the time, but thank you for answering!