Page 1 of 1

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

Posted: Sat Jul 04, 2015 2:19 pm
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.

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

Posted: Mon Jul 06, 2015 10:11 am
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.)