Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Time lagging expression not working on AE CS 6

  • Time lagging expression not working on AE CS 6

    Posted by Adirai Maji on April 8, 2015 at 6:52 pm

    While performing a project, I used the expression

    valueAtTime(time-.3)

    for time lagging to a null object (Null_2) that is parented with another null (Null_1)..
    When I move the parent null (Null_1) the expression used null(Null_2) should lag with .3 m/s
    But it doesn’t happens. Both nulls are move along with same delay without any lag
    I’m using AE CS6. Please give me a solution

    thisComp.layer("Null_2").transform.position.valueAtTime(time-.3)

    Adirai Maji replied 11 years, 1 month ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    April 8, 2015 at 7:36 pm

    If it’s 2D, this should work:

    L = thisComp.layer(“Null_2”);
    L.toComp(L.anchorPoint,time-.3)

    Dan

  • Adirai Maji

    April 9, 2015 at 5:41 am

    Thank you Bro this expression also not working… both Nulls moves along with same path I’ve uploaded a video for make you to see whats going on my screen

    https://www.youtube.com/watch?v=x85RPHXbqyc&feature=youtu.be

    If you have any other solution please tell me. Thank you again 🙂

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Dan Ebberts

    April 9, 2015 at 6:25 am

    Ah. You don’t really have Null 2 parented to Null 1, you just have them linked via an expression, so the expression I gave you isn’t appropriate. Also, your original expression should actually work, but you have to animate Null 1. You can’t just scrub the position value and expect anything to happen. You won’t see the effect unless you keyframe some motion for Null 1 so that Null 2’s position actually changes over time.

    Dan

  • Adirai Maji

    April 9, 2015 at 6:55 am

    Oops. Yeah!! It works actually 😀 It was my mistake…Thank you so much 🙂

    ~MAJI~

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