AZ TOOLS

AZ Space Switcher

Enum-driven space switching for a control and up to five drivers. One node in the rig hierarchy, everything else hidden.

The AZ Space Switcher window going through the four steps: empty form, control picked, three drivers added, space switch created.
The whole pass in four steps: pick the control, add the drivers, press CREATE SPACE SWITCH.
The AZ Space Switcher window after the build: the setup list, the driven control, the drivers in enum order and the status line.
After the build: the setup in the list, the drivers in enum order (0 is always World), the button turned into UPDATE.

What it does

Pick a control, add the objects it should be able to follow, press one button. The control gets a Space enum in the Channel Box: World, then every driver in the order you chose. Keying the enum switches which object the control follows.

The tool is built for animation rigs: the control keeps its channel values and its locked channels, the rig hierarchy receives exactly one extra node, and an existing switch can be updated or removed without leaving anything behind.

Workflow

  1. Select the control and press Pick Selected, or From Selection at the top. If the control already has a space switch, the whole form is loaded from it and the build button turns into UPDATE.
  2. Select the driver objects and press Add Selected. The row order is the enum order: 0 = World, then the drivers. Reorder with Up / Down, double-click a label to rename the enum entry.
  3. Choose the channels (Translate, Rotate, Scale) and the attribute name, then press CREATE SPACE SWITCH. The whole build is one undo step.
  4. Switch spaces with the new enum attribute in the Channel Box, keyed like any other attribute.

Build in the default pose. Every space is created on the control's current world position, so the pose at build time is the pose all spaces agree on. Build and update with the rig at rest.

The window

Setups
Every space switch in the scene. Picking one loads it into the form; <New Setup> clears the form. Refresh rescans the scene.
Driven control
The control that switches spaces. Pick Selected takes the current selection. Picking the OFFSET node of an existing setup selects its control.
Drivers
Up to five objects the control can follow. Add Selected, Remove, Up, Down, Clear; double-click a row to rename its enum label.
Channels
Translate and Rotate are on by default; Scale adds scale following for rigs that scale their drivers.
Enum name
Long name of the enum attribute added to the control (space by default).
Nice label
What the Channel Box shows (Space by default, may contain spaces).
CREATE / UPDATE SPACE SWITCH
Builds the setup from the form, or rebuilds the existing one from scratch.
Remove Space Switch
Deletes the constraints, condition nodes, proxies, the enum attribute with its keys and the OFFSET node. The control returns under its original parent. Undoable.

How it is built

Good to know

Availability

AZ Space Switcher is a licensed product of AZ Tools, in the Rigging category. It is listed in the AZ Tools Manager for every account and installs once a license key is activated. Rigs built with it need nothing extra: the setup uses standard Maya nodes only, so a scene opens anywhere.

Get AZ Tools Manager