Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How to make cinemachine stay fixed in world

Discussion in 'Cinemachine' started by mikesuds, Jul 9, 2023.

  1. mikesuds

    mikesuds

    Joined:
    Mar 3, 2023
    Posts:
    2
    Whenever the resolution of the game screen changes the camera moves with it, showing parts of the level I dont want to show, how do i make my camera show a fixed view
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,207
    Can you give some more specifics? I can't really answer your question without some context. There is no "show only what I want" feature.

    What the camera shows is a function of its position and rotation and FOV (or Ortho size, in the case of ortho cameras). This will also be impacted by the screen aspect (which is not a property of the camera). What are you getting, and how does it compare to what you want? Please show pictures.
     
  3. mikesuds

    mikesuds

    Joined:
    Mar 3, 2023
    Posts:
    2




    With the normal Unity camera when i stretch the size of the game screen what the camera shows stays the same, with cinemachine camera when i stretch it changes the cameras projection, i want the cinemachine camera to act in the same way
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,207
    Only the first 2 pictures are visible, I can't see the other two. A Cinemachine camera behaves the same way as a normal camera when you change the size of the game view.

    Can you show the inspector of the Cinemachine camera?