playMaker

Author Topic: [SOLVED]2 camera FOV's - need to control the speed of the transition.  (Read 1916 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
HI,
If I have my camera FOV set to 70, but want it set to 35 after it hits a trigger. I have it working, but I need to control the speed of the FOV.  So if I use a Float variable, say cameraFOV, how can this be controlled so I get a smooth transition between my 2 FOV's?
« Last Edit: September 29, 2013, 10:25:00 AM by Splankton »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: 2 camera FOV's - need to control the speed of the transition.
« Reply #1 on: September 29, 2013, 10:19:28 AM »
Use an Animate Float action, if you're setting the camera fov to the value of cameraFOV float every frame, then simultaneously animating it between the two numbers in the same state will do what you want.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Splankton

  • Sr. Member
  • ****
  • Posts: 268
[SOLVED]Re: 2 camera FOV's - need to control the speed of the transition.
« Reply #2 on: September 29, 2013, 10:23:09 AM »
Yes, I've just seen the animate variable. I like how curves can be used, so I'll get a smooth ease in ease out transition.  Thanks for your help.