playMaker

Author Topic: Changing camera zoom over time  (Read 2328 times)

Mutajon

  • Playmaker Newbie
  • *
  • Posts: 25
Changing camera zoom over time
« on: October 08, 2016, 07:19:55 AM »
Hey,

Is there a way, using playmaker, to change the camera zoom over time? So, for example, having the camera slowly zoom-in on an image?

Thanks :)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Changing camera zoom over time
« Reply #1 on: October 08, 2016, 07:38:01 AM »
Try DoTween with the playmaker actions. You have the tween function for that.

clandestine

  • Sr. Member
  • ****
  • Posts: 255
    • ЯKD.ZONE
Re: Changing camera zoom over time
« Reply #2 on: October 08, 2016, 08:02:34 AM »
or maybe... use set camera FOV (every frame) and set the value to a float variable, then ease/tween the value.

@dudebxl: does DOTween have an action to directly ease a FOV?

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Changing camera zoom over time
« Reply #3 on: October 08, 2016, 09:53:49 AM »
Yes.. Camera then select fieldofview option.

You can also tween the float value using dotween ease float action to be used with the set camera fov as you mentioned

clandestine

  • Sr. Member
  • ****
  • Posts: 255
    • ЯKD.ZONE
Re: Changing camera zoom over time
« Reply #4 on: October 09, 2016, 02:58:58 AM »
Yes.. Camera then select fieldofview option.

Awesome!
Thanks.