
The radius variable is now 150.
Next you'll use the new variable in the expression.
Example continued: To replace the literal value with the variable name:
1
In the Expression field, change 100 to
radius
in both places. The
expression should now look like this:
[ radius*cos(360*NT), radius*sin(360*NT), 0]
2
Click Evaluate.
3
Play the animation. The sphere moves in a circle about the world origin
(0,0,0). The radius of the circular path is 150 units.
Example continued: To make the sphere rotate about a box:
1
Create a box about 40 units square, and animate its position over three
or four keyframes.
2
Select the sphere.
3
In the Name field of the Expression Controller dialog, enter
boxposn
.
Choose Vector, and then click Create.
The name "boxposn" is displayed in the Vectors list in the lower-left area
of the dialog.
Variable names are case sensitive; the variable name should be lower case.
4
Click Assign to Controller.
The Track View Pick dialog is displayed. It shows the object hierarchy as
it appears in the left side of Track View-Dope Sheet.
5
In the Hierarchy list, highlight the Position controller for Box01 and then
click OK.
6
In the Expression field, add boxposn as an offset:
[radius * cos(360*NT), radius * sin(360*NT), 0]
+boxposn
.
7
Click Evaluate, and then click Close.
Play the animation again. The sphere moves in a circle around the box
and follows the box wherever it moves.
3158 | Chapter 15 Animation
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 ...