Search Unity

I have a problem on near Clipping Plane

Discussion in 'Getting Started' started by sultan0402, Oct 7, 2018.

  1. sultan0402

    sultan0402

    Joined:
    Oct 6, 2018
    Posts:
    15
    hello
    I have a problem on near Clipping Plane
    the unity is not allowed 0.0
    I'm writing zero 0.0 appears 0.1
     
  2. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    You want to have the near clipping plane as far away as possible. Can you clarify why you would want it to be 0?
     
    Ryiah likes this.
  3. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    @DaDonik is right, because 3D rendering works by (among other things) dividing distances by the near clipping plane, and when you divide by zero, math breaks.
     
    Ryiah and DaDonik like this.
  4. sultan0402

    sultan0402

    Joined:
    Oct 6, 2018
    Posts:
    15
    I have a problem with the project
    ARKIT Portal
    " when you are moving ahead through the portal for couple of seconds you see outside world frame "

    The developer told me to fix the problem
    0.0 on near Clipping Plane
     
  5. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    They developer misspoke or doesn't know what he's talking about, then.

    Instead, you need to either figure out how they portal is being triggered (probably a collider used in trigger mode), and make that happen sooner (make the collider bigger etc.); or put something behind the portal to block your view when you are very near to it.
     
    Ryiah likes this.
  6. sultan0402

    sultan0402

    Joined:
    Oct 6, 2018
    Posts:
    15
    The project is like this

     
  7. sultan0402

    sultan0402

    Joined:
    Oct 6, 2018
    Posts:
    15
    I have a problem with the project
    ARKIT Portal
    " when you are moving ahead through the portal for couple of seconds you see outside world frame "

     
  8. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,203
    Creating new threads with the exact same question won't magically change the answers you're getting. Like @JoeStrout mentioned this is a problem with the tutorial and the person who created the tutorial. You will need to contact the tutorial author for the solution. We've already provided the most help we can provide with the info you've given us.
     
    DaDonik likes this.