Smooth transition from camera sequence in dialog

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mroshaw
Posts: 96
Joined: Wed Jan 19, 2022 4:10 am

Smooth transition from camera sequence in dialog

Post by mroshaw »

Hi Tony!

I've loving the Sequencer in Dialogue System - I didn't even realise it was a thing, but it adds so much to the conversations.

I have a really nice, smooth transition to a camera angle on my participants using a sequence:

LookAt(listener); Camera(Medium Left,speaker,1);

This works really well. When the conversation ends, the camera "snaps" immediately back to where it was.

Is there any way to smooth out this return to the original position?

EDIT: I'm using Invector TPS Controller, if that's relevant.

Many thanks again!
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Smooth transition from camera sequence in dialog

Post by Tony Li »

Hi,

In the last node -- or in a blank node after the last text node -- use Camera(original), such as:

Code: Select all

Camera(original, , 1); // Move the camera to its pre-conversation position over 1 second.
Continue()@1; // Continue past this dialogue entry at the 1-second mark.
mroshaw
Posts: 96
Joined: Wed Jan 19, 2022 4:10 am

Re: Smooth transition from camera sequence in dialog

Post by mroshaw »

Of course, amazing! Thank you again Tony!
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Smooth transition from camera sequence in dialog

Post by Tony Li »

Glad to help!
Post Reply