Search Unity

My camera changes direction when my player changes direction

Discussion in '2D' started by Deleted User, Nov 14, 2019.

  1. Deleted User

    Deleted User

    Guest

    Hello !
    It's a bit of a twisted question, but I think it's easy to solve:

    I have my player on a 2D scene that when he moves to the left, changes the size of x to negative so that the player turns to the left. But the problem is that the camera that is attached to my flip player too, which is very ugly since there is no transition

    1 -


    2- (When I go left)


    I would like to point out that the problem does not have the blue I have but that the camera also rotates when I would like it to remain to follow the character in the other direction

    Anyone have a solution?
    Thank you.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,442
  3. Deleted User

    Deleted User

    Guest