Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects World Transform…. Scale

  • World Transform…. Scale

    Posted by Adam Forbes on December 3, 2012 at 9:48 pm

    So I need an expression that will calculate the WORLD scale of a child object. Basically if a parent is scaled up the child’s scale “stays” the same but how would i calculate it’s actual scale?

    I know you can do this with position… but not sure how with scale.

    Cassius Marques replied 13 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Cassius Marques

    December 4, 2012 at 8:06 pm

    check if it helps (I probably got that from a post from Dan Ebberts)

    L = thisLayer;
    s = [100, 100, 100] ;
    while (L.hasParent){
    L = L.parent;
    for (i = 0; i < s.length; i++) s[i] *= 100/L.transform.scale.value[i]
    }
    s

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