Search Unity

Creating a cinemachine fixed camera ?

Discussion in 'Cinemachine' started by VincentAbert, Oct 6, 2020.

  1. VincentAbert

    VincentAbert

    Joined:
    May 2, 2020
    Posts:
    123
    Hello everyone !
    I have been using cinemachine for a few weeks with great results, but now that I want to do something simple, I'm not sure how to proceed : I basically just want to add a static camera at some point, let's say in front of a screen inside the game, and I want my camera script to just set that camera priority above so the others so that when my player is in front of the screen, the cinemachine brain can lerp between my cam and this one (just like I do with every other cams, but I don't know how to create a fixed cinemachine camera, one that will just stay there and look at some point, maybe with a bit of noise).

    any ideas ?

    Thank you !
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    Just set the Aim and Body to "Do Nothing". That will create a passive vcam with no follow behaviour. The transform then fully controls where the vcam will be placed, just like any other Unity object.