- Home /
The question is answered, right answer was accepted
the player looks through the objects and does NOT pass through them
the player looks through the objects and does NOT pass through them although I don't want him to do so here is the pic with the player and the object
and here's the pic when he looks through it but he cant go any further
I don't want that to happen what should I do ??
Have you tried reducing the near clipping pane or moving your camera back?
Answer by colruytXD · Apr 24, 2016 at 05:12 PM
On your FirstPersonCharacter => Clipping Plane: Set near to 0.1.
Hope this helps
That's a setting on the camera, specifically.
http://docs.unity3d.com/$$anonymous$$anual/class-Camera.html
The nearClipPlane value on the camera (adjustable via editor or script alike) keeps things from being too much in your face by default. In the case of a first-person perspective, however, it may be suitable to either set it much closer to zero, if not actually to zero.