2009

Table Of Contents
To edit the expression to change the balloons initial scale
1 Change the expression to this:
if (time < 2)
{
Balloon.translateY = 0;
Balloon.scaleY = time * 0.6;
Balloon.scaleX = time * 0.5;
Balloon.scaleZ = time * 0.5;
}
else
Balloon.translateY = time - 2;
2 Click Edit.
At frame 0, Balloon disappears from view because its scale attributes are
0.
The scaleX, scaleY, and scaleZ attributes are 0 at frame 0 because time is
0. Any number multiplied by 0 is 0.
3 Play the animation.
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.
Editing expressions to refine an animation | 583