Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linking a position dependent effector to a change in position.

  • Linking a position dependent effector to a change in position.

    Posted by Luka Schulz on June 17, 2017 at 2:58 pm

    I was wondering if anybody has tried making an expression for effectors like “Bend It”–which require a start and end coordinate–when the layer it is applied to is moving. Currently, I hard code the start position value and then subtract the current position value by pick whipping the value.

    Does anybody know if there is a way where I can avoid hard-coding values?

    Thank you

    x = effect("CC Bend It")("Start")[0];
    y = effect("CC Bend It")("Start")[1];

    [x, y + (transform.position[1] - 251.5 )]

    Luka Schulz replied 9 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 17, 2017 at 8:53 pm

    How are you animating the position? You might be able to use transform.position.valueAtTime(0) as a reference.

    Dan

  • Luka Schulz

    June 21, 2017 at 1:46 pm

    I am just animating the y-position. Thank you for the solution.

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