Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Position and Point of Interest of Parented Camera

  • Dan Ebberts

    May 8, 2008 at 9:08 pm

    Lloyd,

    I think it’s like this:

    //Camera Position:

    C = thisComp.layer(“Camera 1”);
    C.toWorld([0,0,0])

    // POI:

    C = thisComp.layer(“Camera 1”);
    if (C.hasParent){
    C.parent.toWorld(C.transform.pointOfInterest);
    }else{
    C.transform.pointOfInterest;
    }

    Dan

  • Lloyd Alvarez

    May 8, 2008 at 10:42 pm

    That’s does it! Thanks Dan!

    -Lloyd

    https://aescripts.com

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