Chapter 33. Animating with the Expression Controller and Wiring Parameters
IN THIS CHAPTER
Using the Numerical Expression Evaluator
Understanding the Expression controller interface
Learning about operators, variables, and functions
Wiring parameters with manipulator helpers
Creating custom 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 another parameter 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 that ...