Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions child layer position value at time

  • child layer position value at time

    Posted by Morris Zagha on February 10, 2020 at 11:47 pm

    Hi. I have a series of lights that are emitters for Particular. The lights are parented to a 3D null that moves and rotates through space. I’m trying to have the lights move along a similar path as the parent but at a delayed time. I am able to get the world position value of each light, but I can’t figure out how to add the ValueAtTime expression to delay the position.
    Thanks in advance!

    Morris Zagha replied 6 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Alex Printz

    February 11, 2020 at 4:10 pm

    toWorld has a 2nd parameter for time that isn’t used as often; if you don’t add anything it defaults to time.

    Look below for a 1 frame delay:

    L = thisComp.layer("targetLayer");
    L.toWorld(L.anchorPoint, time-framesToTime(1));

    Alex Printz
    Mograph Designer

  • Morris Zagha

    February 11, 2020 at 5:35 pm

    That is exactly what I needed. Thanks!

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