Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: misterjuly on March 29, 2021, 01:02:33 PM

Title: Camera Movement
Post by: misterjuly on March 29, 2021, 01:02:33 PM
Hello,

I would like to have my camera temporarily go away from the player and zoom in on another object, then zoom back in on the player. How would I go about this? Would I use set position? Or maybe some tweens? Thanks!

John Bassi
Title: Re: Camera Movement
Post by: djaydino on March 29, 2021, 01:53:55 PM
Hi.
Tween Position could work.
But maybe you want to look into Cinemachine.
Its free on the asset store
Title: Re: Camera Movement
Post by: Alex Chouls on March 29, 2021, 11:19:06 PM
Cinemachine is definitely worth looking into.

I've attached a sample scene that has a simple trigger to show a goal and then return to the player. It's not a finished sample, but I figured it might be helpful even in its current state :)

After importing you can find the sample scene in Assets\Samples\PlayMaker\Camera\