Expressions: Multiple expressions on the same parameter

Summary

You want to have more than one expression driving the same target, but the expression editor will not allow you to create an expression on a parameter if there is already another expression driving it. So how do you do it?


Steps

In XSI, an expression is treated like any fcurve-based animation, meaning you can use the animation mixer to mix its weight. If you store your existing expression animation in an action clip, you can write your expression and store that in its own clip as well. Then you can mix the two clips in the animation mixer and make sure your expression affects the parts of your animation you want it to.

The following steps provide a workaround using the animation mixer:

  1. Create your first expression on a parameter, then mark that parameter and choose Actions > Store > Marked Parameters - All Sources from the Animate toolbar.
  2. When you store the source, make sure to select Remove Original Animation in the Store Action dialog box so that the expression is kept only in the source and doesn't stay on the parameter.
  3. Now that you have an action source of the expression (and have removed the original expression from the parameter), set the next expression directly on the parameter.
  4. Store this expression in an action source in the same way.
  5. In the animation mixer, load the expression action sources to create action clips which you can mix and blend together as you like.


This page was last modified 16:24, 24 Nov 2005.
This page has been accessed 108513 times.