8

366 Chapter 12: Animation
Can ce l
Disregards the c urrent value expression
result and closes the dialog.
Assign Tr ack Lets you a ssign a controller to the
highlighted variable. The controller’s value is
takenatthecurrenttimeplusthevariablesTick
Offset.
Assign Controller—Lets you assign a track to the
highlighted variable.
Assign Node—Lets you assig n a node to the
highlighted variable.
Expression text fieldE nter the script expression
here to calculate the controller value.
Description text f ieldEnter comments regarding
the functionality of the con troller.
Loa d/Sav e—Load and save scripts to text files.
Debug—O pens the Script Controller Debug
Window, which displays the value of all variables
used in your script.
Evaluate—Evaluates the script expression. T he
evaluation is computed for the current position
ofthetimeslider.
Clo se Compiles and checks the controller scr ipt
for errors. If no errors are found, the dialog is
closed. Any problems result in a query box asking
whether you want to revert the expression to the
original value of the current track and close the
dialog (OK), or to return to editing the expression
(Cancel).
Wa ve form Co ntro ller
Main toolbar > Curve Editor (Open) > Select a track in the
Track View hierarchy. > Track View menu bar > Controller
menu > Assign > Waveform Float
Graph Editors > Track View Curve Editor > Select a
track in the Track View hierarchy. > Track V iew toolbar >
Controller menu > Assign > Waveform Float
The Waveform controller is a float controller that
provides regular, periodic waveforms. Created
originally to control blinking lights, you can use it
on any float value.
To view how the trajectory of an object is being
affected by the Waveform controller, turn on
Motion panel > Trajectories.
Procedure
To use the Waveform controll er to anima te the
visibility of a sphere:
1.
Create a sphere.
2. Open Track View, and select the Sphere track.
3. On the Tracks menu choose Visibility Track >
Add.
4. Select the Visibility track, click Controller >
Assign, and select Waveform Float.
5. Playtheanimationtoseetheeffect.