Search Unity

2D camera either rotates or I can't set the ortographic size

Discussion in 'Cinemachine' started by Gramms66, Sep 18, 2020.

  1. Gramms66

    Gramms66

    Joined:
    Aug 15, 2017
    Posts:
    31
    Hello All!

    So I've never used cinemachine before but it seemed the best solution now and it seems like an amazing tool.

    My problem is that I want a group camera in a 2D game, now when I change the orthographic size property of the virtual camera nothing will happen. I've read that I should set the look at target to none which worked but now my camera starts rotating when it's target moves. I want it to not be rotating and I want to change the orthographic size.

    Any help on how could I achieve this would be much appreciated.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,728
    Changing the orthographic size in the vcam will work - unless you've enabled features to control the ortho size procedurally, which would naturally override anything you set manually. Can you show the inspector of your vcam?