-
toWorld help – also, is there a way to bake child data in AE?
alrighty. I am moving a null around in AE and having particular generate based on the position. I need to make a 3d ribbon-y “band” with 10 instances of particular. I am having 10 nulls offset on a master null that I am animating around. Unfortunately, when you parent one layer to another, you no longer get position data in relation to the world, but instead in relation of the parent. Is there a way to bake children data in AE? I have tried changin my expression using toWorld to try and convert the positional data to world data but can’t get it working. It’s working in the z but not in the xy (particular pulls these apart this way) I can’t figure out the syntax, I know I am close.
This is what I have on the xy for the particle emitter
pos = thisComp.layer(“red”)
wrld=pos.toWorld(pos.position);
[wrld[0],wrld[1]]with “Red” being the null that is parented to the master null.
and heres is what i have for z:
pos = thisComp.layer(“red”)
wrld=pos.toWorld(pos.anchorPoint);
[wrld[2]]Z seems to be working. is this due to in being a single value and not an array?
Thanks very much in advance!
Colin