Using List Controllers
 
 
 

A controller in 3ds Max is a plug-in that manages the values involved in keyframe animation, such as changes in object scaling, color, or translation. List controllers combine two or more controllers and can be very useful when combining relationships between objects.

List controllers, for example, are helpful when using expressions and constraints to control a child object through a parent object, particularly if the child and parent objects are not using the same orientation. The List controller uses added internal controllers that lets you maintain control over the child object’s local orientation, even though it remains constrained to that of its parent.

Local orientation of a child object can differ from its parent.

Right: Orientation of the parent chassis

Left: Orientation of the front left car wheel

The child object (car wheel) of the rig you are about to animate in this tutorial, is oriented differently from the parent object (the car body). To turn the wheel using wiring, you would have to rotate the wheel on its Y axis (based on the orientation of the body of the car), not its X axis (the wheel’s local orientation). To regain control of the local orientation of the child object, you will add list controllers to the position and rotation tracks of the front left wheel animation.

Set up the scene:

Manually assign List controllers:

In this procedure, you will manually assign List controllers to the position and rotation tracks of the front left wheel of your Chevy.

  1. From the main toolbar Selection Sets list, choose Garage_All.

  2. Right-click the Perspective viewport and choose Hide Selection from the quad menu.

    All scene objects other than the car are hidden.

  3. Press H to display the Select From Scene dialog and expand the Chassis object (the car body).

    Notice how the four wheels, as well as the steering wheel, are children of the object . This hierarchy is typical to 3D car models.

  4. Choose Wheel-FL from the object list, then click OK.

    The front left wheel in the scene is now selected.

  5. Go to the Motion panel and expand the Assign Controller rollout.

    A list of default animation controllers displays as tracks in an Explorer format.

  6. Highlight the Position:Position XYZ track, then click (Assign Controller).

  7. On the Assign Position Controller dialog, double-click Position List.
  8. On the Assign Controller rollout Position:Position List track, click the + icon to expand the position list.
  9. Click the Available track, then click (Assign Controller) again.

  10. On the Assign Position Controller dialog, double-click Position XYZ.

    In the explorer, a second Position XYZ: Position track has been created below the first. This track represents the controller that will control keyframe information of X, Y, and Z axes based on the local position of the child object (the front left wheel).

    Next, you will repeat the procedure by assigning a List controller to the rotation track of the front left wheel.

  11. On the Assign Controller rollout list of tracks, click Rotation: Euler XYZ and click (Assign Controller).

  12. On the Assign Rotation Controller dialog, double-click Rotation List.
  13. On the Assign Controller rollout list of tracks, expand the Rotation: List track by clicking its + icon.
  14. Click the Available track and click (Assign Controller).
  15. On the Assign Rotation Controller dialog, double-click Euler XYZ.

    A second Euler XYZ track is created. This track controls rotation keyframe information of X, Y, and Z axes based on the local coordinates of the front left wheel.

Automating the assignment of List controllers:

MacroRecorder is a simple scripting utility that records your interactions in 3ds Max. It converts your actions into a script that you can reuse to accomplish repetitive tasks.

In the previous procedure, you manually assigned position and rotation list controllers to a single wheel on your Chevy. You will now use MacroRecorder to automatically assign list controllers to the remaining three wheels, as well as the car body and steering wheel, so that the entire rig uses the same coordinate system in its animation.

  1. Go to the bottom-left corner of the 3ds Max window, right-click the MAXScript area and choose Open Listener Window.

    3ds Max opens the MAXScript listener dialog.

    TipIf the upper, Macro Recorder pane (with a pink background) isn’t easy to see at first, drag the bar that divides the panels downward, so the two panes are roughly equal in area. You can also resize this dialog.
  2. From the menu bar, choose MacroRecorder Enable.

    From this point onward, almost any action you perform in 3ds Max will be recorded in a script.

  3. Select the rear left wheel of the car (the Wheel-RL object).
  4. Repeat steps 6 through 16 of the previous procedure to assign list controllers to the position and rotation of the rear left wheel.

    As you progress, notice how the pink Macro Recorder area accumulates scripting data.

  5. Right-click a gray area of the main toolbar (below the Selection Sets drop-down is a handy area), then choose Customize.
  6. On the Customize User Interface dialog, make sure the Toolbars tab is active, then click New.
  7. On the New Toolbar dialog, type myTools and click OK.
  8. Close the Customize User Interface dialog and reposition the new toolbar to the right of the MAXScript Listener window.

  9. Highlight the last four lines of the script, then drag and drop them onto the myTools toolbar.

    3ds Max creates a button on the toolbar.

  10. Right-click the newly created button and choose Edit Button Appearance.
  11. On the Edit Macro Button dialog, choose the Text Button option and in the Label field, type List Con, then click OK.

    3ds Max changes the button to a text button.

  12. On the MAXScript Listener window menu bar, choose MacroRecorder Enable to turn off script recording.

    The MacroRecorder stops recording your actions in 3ds Max.

  13. Close the MAXScript Listener window, then resize the myTools toolbar until the List Con label is fully displayed.

    You are now ready to use the List Con tool to quickly assign list controllers to the remaining wheels of your car model.

  14. In any viewport, select the front right wheel of the car (the Wheel-FR object).
  15. On the myTools toolbar, click List Con.

    On the Motion panel Animation Controller rollout, expand the Position XYZ track to display one of the list controllers that was assigned by the script you just created.

  16. Select the last remaining wheel in the model and click List Con again.
  17. Repeat the previous step for the Chassis object.
  18. Repeat the previous step for the SWheel object.
    NoteYou can apply the MacroRecorder script to only one object at a time. You must therefore click the List Con button once for each object you want to modify.
  19. Save your work as mycar_rig_02.max.

The myTools toolbar you created in this procedure is now available for all future 3ds Max work sessions.

In the next lesson, you will learn how to animate the rotation of the car wheels.

Next

Rotating the Wheels