Search Unity

First Person Controller - Main Camera - Mouse Look (Script) "bug?"

Discussion in 'Scripting' started by Kaya, Jan 24, 2011.

  1. Kaya

    Kaya

    Joined:
    Dec 21, 2010
    Posts:
    50
    If you try assigning -360,360 to Minimum Y and Maximum Y values of First Person Controller - Main Camera - Mouse Look (Script) and run your application you will see (at least it is what happens on my computer) that your scene flickers when you are looking at the scene in "up-side-down" orientation.

    - Do you know why scene flickers when the camera looks the scene "up-side-down" orientation?​

    -Kaya
     
    Last edited: Jan 24, 2011
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    A camera that can rotate a full circle is often quite complicated to implement. The standard FPS camera is designed for a character that is basically upright but may be able to look up and down. It isn't really suitable for situations where upside down flight or other similar things are possible. Can you give any more detail about what you are using the camera for? There may be an alternative that you can use.