ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Linking Shape vertex to Null

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Adam levine
Linking Shape vertex to Null
on Oct 29, 2015 at 6:39:06 pm

I'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.. :D

ps
I found a script to that from this link (http://aexpressions.ru/ae_scripts/shape-tracker/)
But it doesn't work. I think it's a fake script.


Return to posts index

Dan Ebberts
Re: Linking Shape vertex to Null
on Oct 29, 2015 at 7:34:41 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



Return to posts index

Adam levine
Re: Linking Shape vertex to Null
on Oct 29, 2015 at 7:40:17 pm
Last Edited By Adam levine on Oct 29, 2015 at 7:41:17 pm

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

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

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


Return to posts index


Dan Ebberts
Re: Linking Shape vertex to Null
on Oct 29, 2015 at 7:45:23 pm

I don't have any experience with it--sorry.

Dan



Return to posts index

Adam levine
Re: Linking Shape vertex to Null
on Oct 29, 2015 at 7:56:19 pm

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


Return to posts index

Adam Grüner
Re: Linking Shape vertex to Null
on Oct 3, 2017 at 10:55:44 am

Okay, I just had to make an account to reply to you and tell you: "THANK YOU!"

This will make SO many animations so much easier! You sir, you have a nice week :)


Return to posts index


Kalle Kannisto
Re: Linking Shape vertex to Null
on Oct 29, 2015 at 8:02:22 pm
Last Edited By Kalle Kannisto on Oct 29, 2015 at 8:06:24 pm

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

http://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.


Return to posts index

Kalle Kannisto
Re: Linking Shape vertex to Null
on Oct 30, 2015 at 12:36:52 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?


Return to posts index

Dan Ebberts
Re: Linking Shape vertex to Null
on Oct 30, 2015 at 4:46:34 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



Return to posts index


Kalle Kannisto
Re: Linking Shape vertex to Null
on Nov 1, 2015 at 5:43:10 pm

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


Return to posts index

Adam levine
Re: Linking Shape vertex to Null
on Nov 2, 2015 at 6:05:15 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.


Return to posts index

Kalle Kannisto
Re: Linking Shape vertex to Null
on Nov 3, 2015 at 2:34:17 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 :)


Return to posts index


Sorin Voicu
Re: Linking Shape vertex to Null
on Apr 6, 2017 at 11:29:45 pm

Just solved my problem, Thanks Kalle!!!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]