Search Unity

Orthographic size and fov

Discussion in '2D' started by ktest112233, Jun 7, 2019.

  1. ktest112233

    ktest112233

    Joined:
    Jan 7, 2019
    Posts:
    37
    Hi

    I have a perspective camera with an fov of 60.
    It looks at an object from top view at a height of (0, 50, 0)

    The user has the option to change the camera to orthographic view to get a 2D view without any depth from top

    Now how can i set the orthographic size so it looks the same as that in the perspective view?
     
  2. Primoz56

    Primoz56

    Joined:
    May 9, 2018
    Posts:
    369
    You can change the camera mode to get orthographic view (on the camera), but it's probably easier to set up two cameras and just swap which one is active.
     
  3. ktest112233

    ktest112233

    Joined:
    Jan 7, 2019
    Posts:
    37