Page 1 of 1

Smooth transition from camera sequence in dialog

Posted: Fri Mar 15, 2024 2:43 pm
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!

Re: Smooth transition from camera sequence in dialog

Posted: Fri Mar 15, 2024 8:19 pm
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.

Re: Smooth transition from camera sequence in dialog

Posted: Sat Mar 16, 2024 5:58 am
by mroshaw
Of course, amazing! Thank you again Tony!

Re: Smooth transition from camera sequence in dialog

Posted: Sat Mar 16, 2024 12:47 pm
by Tony Li
Glad to help!