Search Unity

Question My camera is inverted, how do I fix it?

Discussion in '2D' started by Rafael_Ferraz, Mar 13, 2023.

  1. Rafael_Ferraz

    Rafael_Ferraz

    Joined:
    Mar 10, 2023
    Posts:
    7
    It's really bizarre.

    My camera, dynamic background and player sprite are all technically at the preview's origin (Transform.position = 0, 0, 0) and for some reason the camara is facing the opposite direction of my game assets.

    I don't know why. Anybody can help me?
     
  2. QuinnWinters

    QuinnWinters

    Joined:
    Dec 31, 2013
    Posts:
    494
    If your camera is at origin it's not going to see anything else that's at origin. If everything else is at origin you need to pull the camera back into the negative on the z axis for it to see the stuff at origin.
     
    Kurt-Dekker likes this.
  3. Rafael_Ferraz

    Rafael_Ferraz

    Joined:
    Mar 10, 2023
    Posts:
    7
    That worked! Thanks!