Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Trying to link Particular emitter to parented object – position wont update

  • Trying to link Particular emitter to parented object – position wont update

    Posted by Ryan Paterson on April 14, 2012 at 10:04 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!

    David Hillier replied 8 years, 3 months ago 3 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    April 14, 2012 at 10:50 pm

    You’re probably looking for something like this:

    L = thisComp.layer(“boat”);
    L.toComp(L.anchorPoint);

    Dan

  • Ryan Paterson

    April 15, 2012 at 8:52 pm

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

  • Ryan Paterson

    April 16, 2012 at 5:49 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?

  • Dan Ebberts

    April 16, 2012 at 5:54 pm

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

    Dan

  • David Hillier

    January 31, 2018 at 10:59 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

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