best way to lock camera POV when encountering a NPC for duration of a conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cristo
Posts: 8
Joined: Fri Jul 03, 2015 4:15 am

best way to lock camera POV when encountering a NPC for duration of a conversation

Post by cristo »

Hi,

I'm really liking the Dialogue System.

Something I need to do next is stop the camera rotating up and down or side to side when I'm clicking on speech tiles whilst conversing with the NPC.

I'm just wondering about the best approach to freezing the POV of the camera for the duration of the conversation.

Many thanks,

Chris.
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: best way to lock camera POV when encountering a NPC for duration of a conversation

Post by Tony Li »

Hi Chris,

Check the Dialogue Manager GameObject's Display Settings > Camera Settings > Default Sequence. By default, it contains Camera() sequencer commands that attempt to do closeups of the participants. You may want to set this field to:

Code: Select all

Delay({{end}})
If that isn't the issue, you can use the Set Component Enabled On Dialogue Event component to disable your gameplay camera control script(s) during conversations. (See How to Set Up NPCs for more info.)
Post Reply