Chapter 34. Animating with the Expression Controller and Wiring Parameters

Expressions are looks that you make in the mirror when you're trying to wake up, but in Max they are a series of equations that define how an object acts. Max expressions can be as simple as adding two numbers together or as complex as several lines of MAXScript. But expressions enable you to create customized animated reactions.

Although Max expressions can be used with any Max spinner, they are mainly used within MAXScript scripts or in the Expression controller. The Expression controller is a specialized controller that lets you control the object's behavior using scripted expressions.

This chapter then looks at a unique way to drive animations based on object parameters. Parameters of one object can be wired to parameters of another object so that when one parameter changes, the wired parameter changes with it. For example, you can wire the On/Off parameter of a light to the movement of a switch. All parameters that can be animated can be wired.

As long as you are working with parameters, Max includes several helpful tools for viewing and working with the available parameters including the Parameter Collector. If the Parameter Collector doesn't gather the exact parameters ...

Get 3ds Max® 2010 Bible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.