Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Z-space expression over expression?

  • Z-space expression over expression?

    Posted by Eliezer Cisner on January 21, 2014 at 3:53 am

    I don’t know how to put this, I’ll try my best.

    I’m trying to make a Z-space-fly-through and I’ve distributed all layers in z-space by adding the following expression:
    t = thisComp.layer("Null 3").effect("Slider Control")("Slider")
    i = index*t;
    [value [0], value [1], i]

    So far so good, but I’d like to add an additional fly-in to each layer by itself for a couple of frames. So instead of just a general fly-through, each layer should have a bit of a z-position animation on its own.

    Question is, how do I add that additional z-position animation to the layers, since they already have the general distribute expression to it?

    Hope I’m clear enough.

    Eliezer Cisner replied 12 years, 3 months ago 3 Members · 4 Replies
  • 4 Replies
  • Jeff Bobbington

    January 21, 2014 at 3:30 pm

    Apply it to the anchor point instead of the position?

  • Eliezer Cisner

    January 21, 2014 at 3:34 pm

    Deadline’s looming, so I ultimately converted the original position expressions to keyframe, of which freed me up to add manual additional keyframes.

    Regarding your reply, I haven’t thought of that, good thinking!

  • Darby Edelen

    January 22, 2014 at 9:00 am

    [Eliezer Cisner]
    t = thisComp.layer(“Null 3”).effect(“Slider Control”)(“Slider”);
    i = index*t;
    [value [0], value [1], i];”

    How about this?

    t = thisComp.layer("Null 3").effect("Slider Control")("Slider");
    i = index*t;
    value + [0, 0, i];

    You can then animate the position property with keyframes. When your keyframe has a Z value of 0 that will correspond to the distributed position defined by the ‘i’ variable.

    Darby Edelen

  • Eliezer Cisner

    January 22, 2014 at 2:02 pm

    Thanks for your help, Darby.

    As I said, since I converted the expressions to keyframes, I (unfortunately) no longer have this issue at the moment, but this can sure help me in similar situations. Thank you for your time.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy