Search Unity

Cinemachine Zoom from third person to position at eyes like FPS.

Discussion in 'Cinemachine' started by AndyNeoman, Jun 10, 2020.

  1. AndyNeoman

    AndyNeoman

    Joined:
    Sep 28, 2014
    Posts:
    938
    Hi everyone,

    I'm wondering if anyone has made a zoom function to move the free look camera too a FPS like position at the players eyes on a button control. I'd like to be able to restrict its movement realistically too when in the zoom I.E look around 180 degrees and similar 180 degrees up and down.

    Thanks for any advice or tips.

    Andy
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Hi

    I would create a FPS like vcam separately, and then blend into it on button control.
    You can change the currently active camera by changing the Priority property on them (the active camera will be the one with highest priority).

    Let us know if you have any other questions (e.g. how to control blending).
     
    selocanyu and AndyNeoman like this.
  3. AndyNeoman

    AndyNeoman

    Joined:
    Sep 28, 2014
    Posts:
    938
    i'll give that a shot thanks.