Activity › Forums › Adobe After Effects Expressions › Linking Shape vertex to Null
-
Linking Shape vertex to Null
Posted by Adam Levine on October 29, 2015 at 6:39 pmI’ve shape a layer with a 6 vertices. I want to link each vertex to a Null object. Is it possible to do that? I think Master Dan can do that.. 😀
ps
I found a script to that from this link (https://aexpressions.ru/ae_scripts/shape-tracker/)
But it doesn’t work. I think it’s a fake script.Adam Grüner replied 8 years, 9 months ago 5 Members · 12 Replies -
12 Replies
-
Dan Ebberts
October 29, 2015 at 7:34 pmYou 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 pmThank 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 -
Kalleheikki Kannisto
October 29, 2015 at 8:02 pmThe 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 pmDan,
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 pmA 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 pmThanks Dan! That’s good news. Will have to give it a try then.
-
Adam Levine
November 2, 2015 at 6:05 pmKalle,
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 pmI 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 🙂
Reply to this Discussion! Login or Sign Up