Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions using layers X pos to control time-remap of other layer

  • using layers X pos to control time-remap of other layer

    Posted by Michael Day on September 4, 2009 at 11:14 am

    Hello

    I want to use this in a simple character rig.

    I have a precomposed layer containing the animated articulation of a leg.

    I would like to be able to use the X position of another (guide) layer to effectively scrub though the precomp by effecting its timeRemapping.

    so for example when the guide layer is at X0 – the precomp is at frame 1/100, and when the guide layer is at X100 – the precomp is at frame 100/100.

    Any help n this would be appreciated greatly

    Thanks

    Michael Day replied 16 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 4, 2009 at 5:31 pm

    Something like this:

    x = thisComp.layer(“other layer”).transform.position[0];
    framesToTime(Math.round(x))

    Dan

  • Michael Day

    September 7, 2009 at 6:12 pm

    Something exactly like that yes.

    Thankyou Dan, that’s very much appreciated.

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