Search Unity

Question Align CinemachineVirtualCamera to regular camera

Discussion in 'Cinemachine' started by roland8217, Aug 6, 2021.

  1. roland8217

    roland8217

    Joined:
    Sep 12, 2015
    Posts:
    2
    I am trying to find a decent way to accurately align a cm camera with a regular vanilla non-physical camera that has transform and fov keyframes animated in a 3rd party 3d application. The purpose of showcasing a cutscene that has been pre-choreographed to a seamless transition of gameplay. On its face, this seems like a simple one-to-one copy and paste but there are so many variables (over-engineered IMO) at play this simple task seems utterly impossible.
     
    Last edited: Aug 6, 2021
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Add a CinemachineExternalCamera component to the Camera that was animated. This will expose it as a virtual camera to the CM system. They will share the same transform, and the FOV will be pulled from the animated camera every frame.