Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Slider Control – How to morph from A to B with the slider control

  • Slider Control – How to morph from A to B with the slider control

    Posted by Baptiste Cavallo on March 14, 2015 at 9:11 pm

    Hi there,

    Say you’re rigging a character’s face for an animation, and that you have a puppet pin on his beard at x,y(0,0).

    Now what I’m wondering is how can I have the A-x,y (0,0) position of that pin be on the left side of the slider control, and the B-x,y (10,50) on the left side of the slider control.

    Kinda like a Pose Morph tool the slider control would morph from the A-pos to the B-pos.
    Hope you guys can make sense of it 🙂
    Thanks !

    Baptiste Cavallo replied 11 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 14, 2015 at 9:47 pm

    Like this, maybe:

    slider = effect(“Slider Control”)(“Slider”);
    posA = [0,0];
    posB = [10,50];
    linear(slider,0,100,posA,posB)

    Dan

  • Baptiste Cavallo

    March 14, 2015 at 10:01 pm

    Amazing, thanks alot !

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