Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Create/move freelook

Discussion in 'Cinemachine' started by Truls_, Sep 27, 2018.

  1. Truls_

    Truls_

    Joined:
    Dec 4, 2016
    Posts:
    104
    So I have this 3D house model and I have some code which can trigger an "alarm" on some part of the house. For example if there's an alarm on a window then the window will start blinking. I'm using a CM freelook camera to navigate and orbit around the house, but what I want is when there's an alarm, I want the camera to move to the front of the blinking object or maybe create a new camera in front of the blinking object. Is this possible and does anybody know how to go about doing this?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
    Just spawn a vcam there and make it active. CM will blend or cut to it, according to your settings in the Brain.
    You could make a prefab.