Zoom2D. Smoothly return to original camera position?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Jago1996
Posts: 4
Joined: Sat May 07, 2022 5:02 pm

Zoom2D. Smoothly return to original camera position?

Post by Jago1996 »

I am making a scene, I am using the sequencer and zooming in the camera with Zoom2D.

I know that the sequencer saves the original position of the camera and instantly returns you back to it. But is there a way to make it smoothly move back to that position?
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Zoom2D. Smoothly return to original camera position?

Post by Tony Li »

Hi,

You can use the special keyword 'original'. To return to the original position smoothly over 2 seconds:

Code: Select all

Zoom2D(original, , 2)
Jago1996
Posts: 4
Joined: Sat May 07, 2022 5:02 pm

Re: Zoom2D. Smoothly return to original camera position?

Post by Jago1996 »

Thank you very much, I literally read that in the documentation and somehow didn't know what it did. I must have skimmed over it. Thanks for saving me so much time!
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Zoom2D. Smoothly return to original camera position?

Post by Tony Li »

Glad to help!
Post Reply