
210 Game Development and Simulation with Unreal Technology
addition to get my oscillation network to go from 1 to 2 and back. Multiplying
this result by the ember color will make the final ember burn look I wanted to
achieve. You can see the entire network in Figure 4.59 .
In order to control the speed of oscillation we can use the Period prop erty of
the Cosine expression. In our example here we used a value of 4 for the Period.
This makes an entire oscillation to take about 4 seconds in game time. In other
words, the embers go from minimum intensity to the maximum intensity in a
period of a bout 4 seconds.
APPLYING MATERIALS TO THE PROPS
Finally we