playMaker

Author Topic: Camera Movement  (Read 677 times)

misterjuly

  • Sr. Member
  • ****
  • Posts: 336
Camera Movement
« 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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Camera Movement
« Reply #1 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

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Camera Movement
« Reply #2 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\