3
In the Hierarchy list, scroll down to the Objects branch and, if necessary,
expand Sphere01 the branch so the sphere's Position track is visible. Click
the Position label to highlight it.
4
In the Hierarchy list, right-click the Position label and then choose Assign
Controller
The Assign Controller dialog opens.
5
Choose Position Expression from the list of controller types, and then
click OK.
The Expression Controller dialog opens.
NOTE
You can also open the Expression Controller dialog with Track View
> Controller menu > Properties.
6
Replace the default expression by typing the following position expression
in the Expression field:
[100*cos(360*NT), 100*sin(360*NT), 0]
The expression specifies a circular path for the sphere. NT is a variable
that means normalized time. Movement based on NT happens exactly
once per the active time segment, regardless of how many frames are in
the animation.
7
Click Evaluate.
8
Play the animation. The sphere moves in a circle about the world origin
(0,0,0). The radius of the circular path is 100 units.
Example continued: To change the radius of the circle:
The two 100s in the position expression from the previous procedure specify
the radius. To adjust the radius of the circle's path, create a symbolic variable
to represent the radius. The variable has a constant value that is easy to edit.
1
Reopen Track View and the Expression Controller dialog if necessary.
2
In the Name field of the Expression Controller dialog, type
radius
Make
sure Scalar is chosen, and then click Create.
The variable name "radius" appears in the Scalars list of the dialog.
3
Click Assign To Constant.
A dialog titled "radius" opens.
4
Enter
150
in the Value field, and then click OK.
Expression Controller | 3157
Summary of Contents for 12812-051462-9011 - 3DS MAX 9 COM LEGACY SLM
Page 1: ...Help Volume 2 Autodesk 3ds Max 2009 ...
Page 13: ...Interface 2694 Chapter 14 Space Warps and Particle Systems ...
Page 28: ...Interface Forces 2709 ...
Page 38: ...Interface Forces 2719 ...
Page 54: ...Interface Deflectors 2735 ...
Page 69: ...Interface 2750 Chapter 14 Space Warps and Particle Systems ...
Page 84: ...Interface Geometric Deformable 2765 ...
Page 93: ...Interface 2774 Chapter 14 Space Warps and Particle Systems ...
Page 174: ...Interface Particle Flow 2855 ...
Page 208: ...Interface Particle Flow 2889 ...
Page 233: ...Interface 2914 Chapter 14 Space Warps and Particle Systems ...
Page 285: ...Interface 2966 Chapter 14 Space Warps and Particle Systems ...
Page 292: ...Interface Particle Flow 2973 ...
Page 327: ...3008 Chapter 14 Space Warps and Particle Systems ...
Page 374: ...Interface Non Event Driven Particle Systems 3055 ...
Page 379: ...Instancing Parameters group 3060 Chapter 14 Space Warps and Particle Systems ...
Page 635: ...Interface 3316 Chapter 15 Animation ...
Page 677: ...Moving the root parent moves the whole hierarchy 3358 Chapter 15 Animation ...
Page 713: ...Overlapping chains make the toe stick to the ground 3394 Chapter 15 Animation ...
Page 767: ...3448 Chapter 15 Animation ...
Page 782: ...Example of Applied IK IK structure Inverse Kinematics IK 3463 ...
Page 787: ...1 Base 2 Post 3 Cap 4 Ring 5 Holder 6 Handle 3468 Chapter 15 Animation ...
Page 1123: ...Interface 3804 Chapter 15 Animation ...
Page 1199: ...3880 ...
Page 1275: ...Properties rollout 3956 Chapter 16 reactor ...
Page 1285: ...A Twist Axis C Twist X Plane Axis 1 Plane Min Cone 2 Plane Max Cone 3966 Chapter 16 reactor ...
Page 1299: ...Properties rollout 3980 Chapter 16 reactor ...
Page 1395: ...Interface Water Properties rollout 4076 Chapter 16 reactor ...
Page 1400: ...Interface Wind Properties rollout Wind 4081 ...
Page 1477: ...4158 Chapter 17 character studio ...
Page 1533: ...Center of mass moved behind the biped in rubber band mode 4214 Chapter 17 character studio ...
Page 1568: ...Rotating Multiple Biped Links Freeform Animation 4249 ...
Page 1591: ...Animating Pivots 4272 Chapter 17 character studio ...
Page 1659: ...Interface Save As dialog for a FIG BIP or STP file 4340 Chapter 17 character studio ...
Page 1662: ...Interface Open dialog for BIP or STP files Biped User Interface 4343 ...
Page 1810: ...Interface Animation Workbench 4491 ...
Page 1814: ...Interface Animation Workbench 4495 ...
Page 1823: ...Interface 4504 Chapter 17 character studio ...
Page 1922: ...Physique Physique 4603 ...
Page 1925: ...4606 Chapter 17 character studio ...
Page 1943: ...See also Using Physique with a Biped on page 4614 4624 Chapter 17 character studio ...
Page 1957: ...Envelope cross sections can be scaled and moved 4638 Chapter 17 character studio ...
Page 2076: ...Physique User Interface 4757 ...
Page 2208: ...Interface Crowd Animation User Interface 4889 ...
Page 2259: ...Interface 4940 Chapter 17 character studio ...
Page 2265: ...Interface 4946 Chapter 17 character studio ...
Page 2268: ...Interface Crowd Animation User Interface 4949 ...
Page 2271: ...Interface 4952 Chapter 17 character studio ...
Page 2287: ...To filter a track on page 4503 4968 Chapter 17 character studio ...
Page 2535: ...Interface 5216 Chapter 18 Lights and Cameras ...