Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Linking position to mask path?

Enthusiast ,
Oct 22, 2009 Oct 22, 2009

I know I can copy and paste a Mask Path to a layer's Position and vice versa.

But is there a way to link them live with an expression?  I think I'm running into a problem with too many dimensions in an array -- I'm trying to link a Light's 3D position into a 2D Mask Shape (for Particular).   I can copy and paste the motion path & mask shape between them just fine, but pickwhipping gives me an error.

Picture 11.png

TOPICS
Expressions
8.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 22, 2009 Oct 22, 2009

Not directly, but there may be a work-around, depending on what you're trying to do. If you paste the path into the position property of a null, AE creates a smooth 2-second animation. You can like to the null's position and use a positon expression with the light (using valueAtTime()) to traverse the path on any timescale you want - stop, back up, etc. If what you're looking for is a live link between the path and the light though, then this doesn't help.

A script has access to all the mask stuff, so depending on exactly what you're trying to do, you could use a little helper script to update your light position keyframes after you edit the path.

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 23, 2009 Oct 23, 2009

Thanks for the info.  I'll post a script request at AEnhancers.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 09, 2010 Jun 09, 2010

Does CS5 handle this any differently?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 09, 2010 Jun 09, 2010

No - sorry.

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 10, 2016 Mar 10, 2016

I don't suppose this has changed since 2010? Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 10, 2016 Mar 10, 2016

No, it hasn't.

Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 10, 2016 Mar 10, 2016

Ah, too bad. Well, thank you very much for letting me know!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 10, 2016 Mar 10, 2016
LATEST

Navarro, this makes me think of Mathias Mohl's Tracker2Mask Script, i'm wondering if that would work for it.  Tracker2Mask - aescripts + aeplugins - aescripts.com

But i'm not sure.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines