Search Unity

cinemachine controls the camera completely

Discussion in 'Getting Started' started by unity_9U3XM3cR4-JK1g, May 21, 2022.

  1. unity_9U3XM3cR4-JK1g

    unity_9U3XM3cR4-JK1g

    Joined:
    May 21, 2022
    Posts:
    1
    hi everyone

    cinemachine controls the camera completely, which prevents me from controlling the camera's features with an external code

    anyone knows the solution?

    thanks
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,720
    Cinemachine doesn't need to control the camera completely. Aim controls the camera's rotation, and Body controls the camera's position. If you put "Do Nothing" in the vcam's Aim and Body sections, then CM will not control the camera at all, and your script can drive the vcam completely. Don't try to drive the main camera. Instead, drive the vcam with your script and the vcam will drive the camera.