I’d just like to add something about the script for the record…
It stops working if the scale of the layer in question is anything other than [100,100,100]. I’ve found that can be fixed by changing the unit vectors in the script. For instance, if the scale of the layer is [200,237,200], the script still works if the first lines read…
C = thisComp.layer(“REFLECTED”);
u = C.toWorldVec([2,0,0]);
v = C.toWorldVec([0,2.37,0]);
w = C.toWorldVec([0,0,2]);
This is only for the child object so far. I haven’t checked it with various parents up the line that have various scales… I’ll report back!
Ben.
http://www.benrollason.com