ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Trying to link Particular emitter to parented object - position wont update

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ryan Paterson
Trying to link Particular emitter to parented object - position wont update
on Apr 14, 2012 at 10:04:29 pm

I have a boat graphic linked to a null which is causing it to gently rock back and forth. At the top of the boat, I have a Particular layer emitting steam.

The emitter position is pickwhipped to the boat's Anchor Point. The problem is, the AP property doesn't update when it's being manipulated by its parent.

Help!


Return to posts index

Dan Ebberts
Re: Trying to link Particular emitter to parented object - position wont update
on Apr 14, 2012 at 10:50:24 pm

You're probably looking for something like this:

L = thisComp.layer("boat");
L.toComp(L.anchorPoint);

Dan



Return to posts index

Ryan Paterson
Re: Trying to link Particular emitter to parented object - position wont update
on Apr 16, 2012 at 5:49:24 pm

Also, out of curiosity- why wrap the layer in a variable? Is there a practical reason for that or is it just a best practice kind of thing?


Return to posts index


Dan Ebberts
Re: Trying to link Particular emitter to parented object - position wont update
on Apr 16, 2012 at 5:54:55 pm

Only because the next line needs to reference the layer twice. Just a matter of choice/style/habit really.

Dan



Return to posts index

David Hillier
Re: Trying to link Particular emitter to parented object - position wont update
on Jan 31, 2018 at 10:59:14 pm

Hi I am very new to expressions.
Please can you explain where you put this code?

I am trying to parent an emitter to a light that is parented to a null


Return to posts index

Ryan Paterson
Re: Trying to link Particular emitter to parented object - position wont update
on Apr 15, 2012 at 8:52:06 pm

Worked beautifully, thank you. Would've researched into that myself but I'm short on time!


Return to posts index

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