Use the Reaction Manager dialog for setting up and modifying Reaction controllers. Reaction Manager lets you add and delete drivers and driven controllers, define states for reactions, use a graph to view and modify reactions with curves, and more.
Example: To use the Reaction Manager dialog:
The purpose of this procedure is to show you different ways to use Reaction Manager. Before trying it, we suggest that you first follow the introductory procedure in the Reaction Controllers topic: Example: To make the position of a sphere react to the position of a box.
The viewport should resemble the following illustration:
You'll use the slider to control two driven entries separately: Negative values for the box X position, and positive values for the sphere's Hemisphere parameter.
The slider's current value is 0.
At this point, the dialog is empty.
In the Reactions list, the reaction driver entry Slider01 / value appears.
In the Reactions list, the reaction driven entry Box01 / X Position appears under the reaction driver entry. Also, a new state appears in the States list for the newly added reaction driven track. This simply says that, when the slider value is 0, the box's X position should be what it is currently. However, a reaction needs at least two states to be meaningful. You'll learn how to accomplish this shortly.
Next, you'll discover a different way to add a reaction driven track.
This causes the pop-up menu to appear at the mouse cursor.
The sphere's Hemisphere track is added as a reaction driven of the slider, and a new state for the two is added to the States list.
You now have two states in the States list, but in both cases the state value (that is, the slider value) is the same, so you really need only one. You can resolve this by adding the Hemisphere reaction driven track to the first state and then eliminating the second state.
This adds the Hemisphere track to State01.
Now you can delete the second, superfluous state.
State02 goes away.
Currently, the box is where you created it, but you might want it to start out at a different location. However, because the box is a reaction driven of the slider, you can't move it freely on the X axis. You'll use the Reaction Manager to set the X position of the box to a specific value.
You might find it difficult to set an exact value by dragging, which changes only the tenths (and higher) value. You can use the keyboard to specify a more exact value.
The value highlights and becomes a keyboard-editable field.
The value now displays as –50.000.
You can use the same mouse and keyboard methods to change state (reaction driver) values as well.
Next, you'll learn how to use Create Mode to create new states freely.
First, you'll set a new state to move the box leftward for negative slider values.
You can't do it, because it's driven by the slider value.
When Create Mode is on, you can change reaction driver and driven properties and use the current properties to create new states.
Highlighting the driven entry lets you manipulate the driven value interactively in the viewport while Create Mode is on. Then, when you click Create State, a new state is created for that driven entry only. If you highlight the reaction driver instead, you can manipulate all driven entries freely, but then clicking Create State creates a new state for all driven entries. Reaction Manager is a complex tool, so in general it's best to keep the data as simple as possible.
The Reaction Manager adds a new state, State02, with the state (slider) value at –100.0, and the box at its new X position.
Next, you'll set a new state so the right half of the slider range affects the sphere's Hemisphere value.
The Hemisphere parameter is unavailable, because it's driven by the slider value.
The Hemisphere parameter is now available.
The Reaction Manager adds a new state with the state (slider) value at 100.0, and the Sphere01 / Hemisphere value at 0.750.
Also, if you click Slide01 / Value in the Reactions list, you can see in the graph showing the slider value on the horizontal axis and the two reactions on the vertical axis. The scale between the two differs greatly, so the Hemisphere reaction on the right side of the graph looks like a straight line, but if you click the Sphere01 / Hemisphere Driven entry in the Reactions list, the graph shows a steady rise from 0.0 to 0.75.
Over the left half of the slider range, the box moves along the X axis. Over the right half of the range, the sphere's Hemisphere value changes.
To finish the procedure, you'll experiment with using the graph to change a reaction.
This adds a new point to the curve and a new state in the States list.
As the slider moves from 0 to 100, the Hemisphere value increases so much that the sphere disappears, and then decreases so you can see the upper fourth of the sphere.
This has been a brief tour of some of the capabilities of the Reaction Manager dialog. For further information, consult the “Interface” section, below.
The Reaction Manager dialog interface consists of three parts: the Reactions list, the States list, and the graph. Each has its own toolbar or toolbars. Each list contains rows and columns; the column headings employ standard Windows functionality. To resize a column, drag the divider to the right of its heading, or auto-size a column to fit its widest entry by double-clicking the right-side heading divider. To change the vertical size of a list section, drag the horizontal divider at the bottom of the list, and to scale all three sections proportionally, drag the bottom of the dialog. You can also resize the dialog by dragging a corner or a side.
You can use standard methods to highlight list items for further actions. Highlight a single item by clicking it. Highlight multiple contiguous items by clicking the first item and then Shift+clicking the last. Use Ctrl+click to highlight noncontiguous items and to toggle highlighting of a single item.
In most cases, if a cell in the Reactions list or the States list contains a single numeric value, you can change the value by dragging vertically on the cell. Click and hold on the number in the cell, and then move the mouse upward to increase the value or downward to decrease it. The exception to this are the Start and End values for reaction driver objects; you can change these values only by modifying a driven objects's Start or End value. You can also modify a one-value field by double-clicking it and then editing it with the keyboard. If a field contains multiple numeric values, you must manipulate the object directly in the viewports or the appropriate dialog.
The dialog also has a right-click menu for managing reactions and states, available by right-clicking anywhere on the dialog except in the graph section.
The Reactions list displays a hierarchical view of the driver-driven relationships of objects with Reaction controllers in the scene. You can use its controls to add and delete drivers and driven items, change start and end frames, and toggle usage of the graph curve. These controls are available both on the toolbar above the list and in the list itself.
Places you in Add Driver mode. Click an object in a viewport, and then use the pop-up menu to choose an animation track to use as reaction driver. Alternatively, choose a track in Track View or from the Motion panel Assign Controller rollout list.
Using the pop-up menu, you can choose only a track at the end of the menu hierarchy; for example, Transform Position X Position. If you choose the object name from the top of the menu, Reaction Manager lists it as World Space Position, so that you can use its three-dimensional position in the World coordinate system to control its driven entries.
To use a Position or Rotation track for the reaction driver, click Add Driver and then click the track in Track View or the Motion panel Assign Controller rollout list. In the latter case, the object must already be selected in the viewports before clicking Add Driver in order for it to show up on the Assign Controller rollout list. If using Track View, you can open the Track View dialog before or after clicking Add Driver.
Places you in Add Driven mode, letting you assign a driven track to the currently highlighted reaction driver in the Reactions list. Highlight a reaction driver and then click Add Driven. Click an object in a viewport, and then use the pop-up menu to choose an animation track to use as driven. Alternatively, choose a track in Track View or from the Motion panel Assign Controller rollout list. Available only when a reaction driver is highlighted in the Reactions list.
To add multiple driven entries, click Add Driven and then press H to open the Pick Object dialog. Highlight the objects to add, and then click Pick. The pop-up menu then appears, prompting you to choose an animation track to use as driven. The same track is used from each object. Alternatively, select the objects and then use Add Selected (see following).
If multiple drivers are highlighted when you add a driven items, the driven entry is added to the first reaction driver in the list.
If any states are highlighted in the States list, the new driven items are added to the highlighted states. If no states are highlighted in the States list, Reaction Manager creates a new state with the added driven entries.
Lets you add driven tracks to the current reaction driver for any selected objects in the viewports. Opens a pop-up menu from which you can choose a track. If multiple objects are selected, this track is added as a driven entry for each selected object. Available only when a reaction driver is highlighted in the Reactions list and at least one object is selected in the viewports.
If multiple drivers are highlighted, the driven entries are added to the first reaction driver in the list.
If any states are highlighted in the States list, the new driven entries are added to the highlighted states. If no states are highlighted in the States list, Reaction Manager creates a new state with the added driven entries.
Deletes any items highlighted in the Reactions list.
If you delete a driven entry, any related state definitions are deleted from the States list, although the states themselves remain. If you delete a reaction driver, all of its driven entries and any related states are also deleted.
When on, displays data in the Reactions list only for objects selected in the viewports. This lets you restrict display reaction setups to objects of immediate interest, without having to scroll through long lists of parameters.
When off, shows all objects and states, regardless of viewport selection status.
If the reaction driver is selected in the viewport, Show Selected shows all driven entries in the Reaction list whether or not they're selected.
Refreshes the list contents based on the current selection. Available only when Show Selected is on and the viewport selection has changed.
These columns show the first and last animation frames for which the driver-driven objects relationship is in effect. These default to the active time segment. Use standard methods to change these values.
If multiple driven entries assigned to the same reaction driver have different Start or End values, the driver object's Start and End fields are blank.
This column shows an X when the graph curve is used to modify Strength, Influence, and Falloff. To specify these numerically in the States list, click the field to toggle the X. Available for driven entries only.
A state describes interaction between a reaction driver and its driven entries. In each state, you specify a value or values for the reaction driver track, and corresponding values for each driven entry. Then, as a driven-track value changes in the scene, the driven values follow along according to the states' specifications.
The States list shows all states for the highlighted reaction in the Reactions list. Any member of a reaction (reaction driver and/or driven entries) can be highlighted in the Reactions list for its states to appear in the States list. If members of multiple reactions are highlighted, the States list reflects values for the first highlighted reaction only.
You can use tools in the States list to add and modify states and their names. To change a state name, click the text twice, slowly (don't double-click). Or, if the state name already highlighted, just click it once. The text highlights and a box appears around it to show that you can now edit it. You can rename only state names, not the indented driven tracks.
You can change values for single-numeric-value driven entries in this list by dragging vertically on the value.
The following descriptions are for changing values interactively in the viewports using the States list controls.
The difference between creating a state in or out of Create mode is that, in Create mode you can manipulate the reaction tracks for all objects, whereas with it off you can manipulate the reaction track only for the reaction driver.
When you create a state, 3ds Max gives it a default name (State##) and lists its driven tracks, indented, under the state name.
The contents of the new state depend on what's highlighted in the Reactions list. If the reaction driver is highlighted, a new state specifies values for the state (i.e., reaction driver track) and all of its driven entries. If one or more driven entries are highlighted in the Reactions list, the new state specifies values for the reaction driver and only the highlighted driven entries.
If you highlight a driven name, you can edit its value for the current state. If you highlight a state name and then click Edit Mode, you can edit any of its driven tracks. To exit this mode and test the new values, click Edit Mode again.
As you manipulate the object, the value is updated immediately and the new value is displayed in the States list. If driven entries in multiple states are highlighted, values are updated for those in the first state only.
The following three parameters, which appear as columns in the States list, apply to driven entries and are normally controlled via the graph curve. They're available only if the driven parameter has Curve turned off in the Reactions list.
These parameters are based on the fact that states can influence one another, so that you get a blending between them.
Reaction Manager's graph displays curves that graph the reaction driver values on the horizontal axis and driven values on the vertical axis. It shows data of all states for items highlighted in the Reactions list. If a reaction driver is highlighted, the graph shows states curves for all its driven entries. If one or more driven entries are highlighted, but the reaction driver isn't, the graph shows data for those driven entries only. You can edit data using the graph by dragging points.
The graph controls are similar to those found in other graphs in 3ds Max, such as the Material Editor Output rollout. The toolbar above the graph offers functions for moving and scaling points on the graph, as well as inserting new ones (that is, new states). The same functions are available by right-clicking the graph, and if you right-click a graph point, you can set it to Corner and two different Bezier types. If you select a Bezier point, you can reshape the curve by moving its handles. You can drag a region to select multiple points, and then edit them together. Use the toolbar under the graph for panning and zooming the graph.
Reaction Manager's right-click menu provides quick access to a number of commonly used functions. It also contains the Replace Driver function, which is unavailable elsewhere in the dialog interface. To open the right-click menu, right-click anywhere on the Reaction Manager dialog except in the graph section.
Places you in Add Driver mode. Click an object in a viewport, and then use the pop-up menu to choose an animation track to use as reaction driver. Alternatively, choose a track in Track View or from the Motion panel Assign Controller rollout list.
For more information, see Add Driver.
Lets you replace the current reaction driver. Use the standard method to choose another reaction driver as described in Add Driver.
Use this function to specify a reaction driver when you open Reaction Manager by assigning a Reaction controller to a driven one.
Lets you add a reaction driven item to the current reaction driver. For details, see Add Driven.
Lets you add selected objects as driven entries to the current reaction driver. For details, see Add Selected.
Deletes any items highlighted in the Reactions list. For details, see Delete Selected.
Lets you create states on the fly by manipulating objects in the viewports. For details, see Create Mode.
Adds a new state to the States list for the current reaction. For details, see Create State.
Adds a driven item to a state in which the driven item doesn't currently participate. To use, highlight a driven item in the Reactions list, highlight a state in the States list, and then choose Append Selected.
Updates the highlighted state (reaction driver track) to its current value. For details, see Set State.
Deletes any highlighted items in the States list.
Lets you change the values in the current driven state. For details, see Edit Mode.
Opens Track View, displaying reaction tracks for highlighted drivers and driven items only.
Opens Schematic View, with reaction tracks expanded for highlighted drivers and driven items.