PDA

View Full Version : 'stacking' expressions?



jeric_synergy
06-16-2012, 03:19 PM
If you are using Expressions to affect, eg, Null(2) 's rotation, can you subsequently use Expressions to affect Null(3)'s rotation, based on Null(2)?

That is: will the expressions evaluated for Null(3) be based on:

Null(2)'s keyframed values?, or ;
the values that are applied to Null(2) via Expressions?


:question:

SplineGod
06-16-2012, 04:05 PM
You should, yes.

jeric_synergy
06-16-2012, 09:33 PM
You should, yes.
I'm doing something wrong then, no surprise.

Using stacked expressions, or maybe 'cascading expressions' is more accurate, rapidly becomes confusing, especially because there doesn't seem to be a very usable dependency chart.

Just fired up a Schematic View of my scene, and it's odd: clone instances don't seem to be displayed, only the original. That's a problem.

SplineGod
06-16-2012, 10:32 PM
LWs expression did or still have a limitation on how deep they can be stacked.
Relativity has no such limitation AFAIK. :)

jeric_synergy
06-16-2012, 10:33 PM
There were multiple screwups by me in this scene, I'm working on it.....

RebelHill
06-17-2012, 04:07 AM
Yep, one thing driven by an expression can also be looked at in another expression, and the value you get is the expression driven value, not the keyframe.

The other kind of stacked expression that SG metions with limitations, is when you reference an expression (by name) in another expression... that only allows you to go 2 deep.

jeric_synergy
06-17-2012, 09:13 AM
The other kind of stacked expression that SG metions with limitations, is when you reference an expression (by name) in another expression... that only allows you to go 2 deep.
Ah, good, not doing that here.