Camera(original,,) sequence command in Cinemachine

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
robster21
Posts: 38
Joined: Tue Aug 23, 2022 9:02 am

Camera(original,,) sequence command in Cinemachine

Post by robster21 »

Is there a Cinemachine Sequence command like Camera(original,,seconds)?
I want to return my Camera to the position where the conversation begins.
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera(original,,) sequence command in Cinemachine

Post by Tony Li »

Hi,

No, but let's say you have two vcams: one that follows the player during regular gameplay, and a second for a conversation. The gameplay vcam's priority is 1, and the conversation vcam's priority is 0. This means that during regular gameplay Cinemachine will use the gameplay vcam.

You can add a Cinemachine Priority On Dialogue Event component to the conversation NPC, assign the conversation vcam, and specify priority 2. During conversations, Cinemachine will switch to the conversation vcam since this component gives it higher priority. When the conversation ends, the component sets the priority back down to 0, so Cinemachine will blend back to the gameplay camera.

Or you can do the same with CinemachinePriority() sequencer commands in your conversation.
Post Reply