Animating PointLights in Matinee to mimic texture animation
In this recipe we'll animate PointLights associated with a lamp asset, a model with a flickering texture, so that the light emitted in the scene also appears to flicker. We'll do this using Matinee, and in particular the Constant interpolation mode of a set of noisily keyed values.
Getting ready
Open the map Packt_04_MatineeFlicker_Start.UDK. This progresses on from the previous recipes on toggling materials and toggling lights. Notice that that functionality has been compacted into a Sub-Sequence ToggleableLighting.
How to do it...
In the previous screenshot, you can see the Kismet for the entire sequence. Notice the importance of the highlighted Level Loaded event to set initial conditions. We can drive a Matinee for the light flicker straight from the Level Loaded event because the animation will just loop whether or not the lights involved are toggled on or off.
In Kismet hold M and click to add a Matinee next to the Sub-Sequence...