Search Unity

Passing through objects in VR

Discussion in 'AR/VR (XR) Discussion' started by UnMAnU, Feb 11, 2018.

  1. UnMAnU

    UnMAnU

    Joined:
    Oct 28, 2015
    Posts:
    13
    Oh Hi,

    I have a question for you: it is possible to prevent the clipping created by having an object too close to the NCP? In fact, I want to fully pass a first person camera through a big object in VR without any clipping.

    It is there a general way to do this?

    Thank you in advance!

    Manuel
     
  2. bradweiers

    bradweiers

    Joined:
    Nov 3, 2015
    Posts:
    59
    I'm not sure I understand the question properly but it is necessary to have near plane clipping. See this Unity Answer for more details.
     
  3. UnMAnU

    UnMAnU

    Joined:
    Oct 28, 2015
    Posts:
    13
    Oh, thanks for your help!

    Yeah I know, but there is this trick I read somewhere that involves using two cameras and layers to prevent a FPS gun from clipping against the camera, if only I could find it again...
     
  4. TeemuMV

    TeemuMV

    Joined:
    Nov 10, 2017
    Posts:
    19