2010

Table Of Contents
As time increases, the value of Balloons scale attributes increase.
Because the expression sets scaleX and scaleZ to 50% of the value of time,
these dimensions scale slower than scaleY, which is set to 60% of the
value of time. Balloon scales faster in height than in width or depth. This
is true for many real balloons.
4 Stop the animation and go to the start time.
5 Save the scene if you plan to examine it later.
Beyond the lesson
In this lesson you learned how to:
Use conditional statements to control an expression.
You can accomplish many expression tasks with several if statements strung
after one another. However, using else statements instead of multiple if
statements makes an expression simpler to read.
If statements and else statements are two of the most common programming
features available in expressions. If youre familiar with programming, you
can write expressions with an extensive syntax similar to the C language.
For further information and related techniques, refer to the Maya Help.
Lesson 3: Controlling particle attributes
Introduction
You can use an expression to control attributes of particle objects. Particle
expressions can be more complex than other types of expressions. For example,
Beyond the lesson | 643