ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: World Transform.... Scale

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Cassius Marques
Re: World Transform.... Scale
on Dec 4, 2012 at 8:06:12 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


Posts IndexRead Thread 


Current Message Thread:
  • World Transform.... Scale by Adam forbes on Dec 3, 2012 at 9:48:41 pm
    • Re: World Transform.... Scale by Cassius Marques on Dec 4, 2012 at 8:06:12 pm





podcasts
© 2019 CreativeCOW.net All Rights Reserved
[TOP]