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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question FPS Camera Focus

Discussion in 'Cinemachine' started by Gergo1027, Jan 21, 2023.

  1. Gergo1027

    Gergo1027

    Joined:
    Feb 18, 2022
    Posts:
    2
    Hallo!

    I would like to create an FPS journey game and where the player can focus the interection thing for example Monitor or Picture and after go back FPS camera view, I found some tips but this always use more camera on scene.
    I would like to use only one camera.
    Could you help me how can I make with cinemachie?

    Thank you in advance for your help
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    The correct way is to use more CinemachineVirtualCameras (one Unity Camera). You'd blend from your FPS camera to the Picture camera and then back.

    You can use CinemachineTriggerAction to switch or some custom scripts that switches based on a keybind (E).
     
    Last edited: Jan 23, 2023
  3. Gergo1027

    Gergo1027

    Joined:
    Feb 18, 2022
    Posts:
    2
    Thank you for your answer

    Yes, that's what I'm using now.
    I just want to simplify it so that you can easily build a new scene.