Saturday, May 5, 2012

Cool Things In Kismet #1: Animated FOV

This is the little trick I posted on the Cooksey's course site about how to animate the FOV of the character. As far as I know(i don't know why it wouldn't) it would work in First and Third-Over-Shoulder views. This would be extremely helpful for a sniper type scope zoom, and through a little tinkering this should be easy to recreate in Unreal Script.

The player hits a trigger in the world which zooms them out, then another trigger to zoom back in.
Basically what happens is that when you hit a trigger in the world(although it could be a button press or anything) the Field of Vision(FOV) is changed every .1 seconds or whatever you want it to be until it reaches the desired number. Each time it loops, being recursive, it will set the FOV to that number it just created, therefore creating a slow zoom in/out effect.

No comments:

Post a Comment