Search Unity

Orthographic camera rotation

Discussion in 'Editor & General Support' started by kordou, Mar 18, 2018.

  1. kordou

    kordou

    Joined:
    May 16, 2017
    Posts:
    13
    Hi,
    I am developing an app for ios and android and in a part of it i want to play a full screen video. I use the videoplayer of 5.6 unity. in order to be able to have a fullscreen video i have a second camera orthographic that looks only at the videoplayer and i switch to this camera for fullscreen video. I have chosen to play the video on the near plane of the camera.

    my problem is that when this camera is it does not rotate with phone as my main camera does and i cannot display the video correctly.

    can someone help my here on how i can rotate this camare with according to my phone ?

    i use c#

    thanks a lot