Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Dely expression in 3D space

  • Dely expression in 3D space

    Posted by Rafael on June 26, 2006 at 6:43 pm

    I read few older posts about delay and rotation and position. But none about this.
    I want a null object to move (position) in a 3D space. The other layers to follow the ‘leader’ with a delay ‘trail effect’. But I want to place my layers where I want. So far all the expressions of Dan Ebberts that I have seen forces the position of each layers on the same as the leader.
    Any thought?

    Rafael replied 19 years, 10 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mylenium

    June 26, 2006 at 7:21 pm

    I don’t quite get what you mean. Your post sounds a bit paradox. Do you mean that your objects shall home in on the “leader” from their initial positions and only then form a trail/ swarm? That would be pretty tricky to do, since it’s close to impossible to get smooth movement just with expressions. How many objects are we talking about? Would it be sufficient to blend between different manually animated motions? Have you looked into using particle systems?

    Mylenium

    [Pour Myl

  • Dan Ebberts

    June 26, 2006 at 8:25 pm

    Which expression are you using. If you want each layer maintain its initial relationship to the null, you can modify the last line like this:

    start = 0; //start time of template motion
    end = 4.0; //end time of template motion

    t = thisComp.layer(“template”);
    offset = (t.effect(“offset”)(“Slider”)/100)*(index -1);
    travel = linear(t.effect(“travel”)(“Slider”)/100,start,end);
    value + t.position.valueAtTime(travel – offset) – t.position.valueAtTime(0)

    I think that should do it.

    Dan

  • Rafael

    June 26, 2006 at 9:39 pm

    Hello, thanks for helping.

    I hope this help clarify what I am trying to do:
    I start with a compostion in 3D. I have 10 text layers placed in my composition.
    The 10 text layers (no keyframes) are parented to a Null object named ‘leader’ which is animated )position+rotation) in the composition.
    I want the 10 text layers to follow the ‘leader’ with a delay that augments for each next Text layer. Maybe a slider for the time in-betwween each layer could be cool.
    So far I have an independent invisible Solid for each Text Layer to which it is parented. Each Invisible Solid layer has those expressions:

    [position]:
    delay=thisComp.layer(“Slider”).effect(“delayer”)(“Slider”)/30*index;
    thisComp.layer(“leader”).position.valueAtTime(time-delay);

    (for each axis Rotation]:
    delay=thisComp.layer(“Slider”).effect(“delayer”)(“Slider”)/30*index;
    thisComp.layer(“leader”).rotationX.valueAtTime(time-delay);

    [Slider]:
    delayer = 13

    It kind of works, but I feel it could be simpler.

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