Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linking Shape vertex to Null

  • Dan Ebberts

    October 29, 2015 at 7:34 pm

    You can’t create a live connection between a vertex and a null with an expression. The best you can do is create your animation, then run a script that will set keyframes to match the null with the vertex (or vice-versa).

    Dan

  • Adam Levine

    October 29, 2015 at 7:40 pm

    Thank you Master Dan. What do you think about the script that I mentioned above.

    expression page
    https://aexpressions.ru/ae_scripts/shape-tracker/

    expression download link
    https://www.dropbox.com/s/xyate7ok6qsy7fy/shapeTracker.zip

  • Dan Ebberts

    October 29, 2015 at 7:45 pm

    I don’t have any experience with it–sorry.

    Dan

  • Adam Levine

    October 29, 2015 at 7:56 pm

    Master Dan, I really appreciate you for your quick answers.

  • Kalleheikki Kannisto

    October 29, 2015 at 8:02 pm

    The only similar thing I’ve found are these scripts which claim to attach a mask point to a null or vice versa:

    https://www.crgreen.com/aescripts/ie/

    No idea if they work. Or if they work for anything above AE CS 3.

    Puppet pin tool is a pretty good option for many cases.

  • Kalleheikki Kannisto

    October 30, 2015 at 12:36 pm

    Dan,

    Is it possible to write a script that takes a set of animated null positions over time (each frame) and creates an animated mask from them? Or do the mask points become inaccessible the moment you create the mask, so you can’t modify them in the next frame?

  • Dan Ebberts

    October 30, 2015 at 4:46 pm

    A script can use setValueAtTime()to animate a mask, so yes, you could have a script match a mask’s vertex points to a null’s animated position.

    Dan

  • Kalleheikki Kannisto

    November 1, 2015 at 5:43 pm

    Thanks Dan! That’s good news. Will have to give it a try then.

  • Adam Levine

    November 2, 2015 at 6:05 pm

    Kalle,

    The script that you gave works fine. But that’s not what I’m seeking for. That script makes keyframes for vertex point’s every positions for the duration of the composition and transfer that keys to our linking Null or layer.

    Thank you for your help.

  • Kalleheikki Kannisto

    November 3, 2015 at 2:34 pm

    I would try and approach it with a mask instead of a shape, but it will require a deeper knowledge of scripting than I currently have. Or more spare time than I currently have 🙂

Page 1 of 2

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