Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Attaching Particular,Camera POI,Layer’s Position.

  • Attaching Particular,Camera POI,Layer’s Position.

    Posted by Eran Solomon on January 12, 2009 at 2:33 pm

    Hey everyone,
    Before I start I’ll state the info.
    Im using Trapcode’s Horizon(awsome), particular, and one small layer.

    My attention is to make the small layer fly around in the comp, attach a point emitter to it (smoke?) and also make the camera POI follow the emitter point.

    Can anyone help me with that?
    So I actually need the Particular emitter attached to the small layer’s Position, and the camera’s POI attached to the emitter points (or the small layer’s position).

    I hope I was..understandable. 🙂

    Thanks in advance !

    Dan Ebberts replied 17 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    January 12, 2009 at 3:15 pm

    An expression like this should work for the emitter Position XY and the POI:

    thisComp.layer(“small layer”).transform.position

    and like this for the emitter Position Z:

    thisComp.layer(“small layer”).transform.position[2]

    If your small layer has a parent, you’d need to use this form instead:

    L = thisComp.layer(“small layer”);
    L.toWorld(L.anchorPoint)

    and

    L = thisComp.layer(“small layer”);
    L.toWorld(L.anchorPoint)[2]

    Dan

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