Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions toComp 3D null with Z offset?

  • toComp 3D null with Z offset?

    Posted by Navarro Parker on February 20, 2013 at 8:49 pm

    I’m using the standard 3D null to 2D position expression:

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

    But in this case, I want to attach a Shine source point to the null. And since those lines are “cast” from a fake point in 3D space, I’d like to offset the position of the null further into Z space so I can have a bit more control over the Shine rays.

    any ideas?

    Kevin Camp replied 13 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    February 23, 2013 at 12:20 am

    if you are still working on this, you may be able to simply add the z offset to the anchorPoint…

    L = thisComp.layer(“null”);
    zOffset = 100;
    L.toComp(L.anchorPoint + [0,0,zOffset])

    if i get a chance, i’ll test it out, but i think it would work.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Kevin Camp

    February 23, 2013 at 12:35 am

    yep, that would do it.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

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