Layer Space Transform Question.
Posted: April 12th, 2010, 6:06 am
Hi all!
I would like to get the 2d position of a null object nested in a 3d comp.
To explain what I have:
In the top level comp I have a null object (2d) and a comp (3d).
the 3d comp is rotated in 3d.
To get the 2d position of the nested null (inside the 3d comp) I use the following expression:
l = comp("the 3d comp").layer("the nested null");
l.toComp(l.anchorPoint);
but the expression seems to ignore the transform (rotation) applied to the 3d comp.
What am I doing wrong ?
cheers, Johan
I would like to get the 2d position of a null object nested in a 3d comp.
To explain what I have:
In the top level comp I have a null object (2d) and a comp (3d).
the 3d comp is rotated in 3d.
To get the 2d position of the nested null (inside the 3d comp) I use the following expression:
l = comp("the 3d comp").layer("the nested null");
l.toComp(l.anchorPoint);
but the expression seems to ignore the transform (rotation) applied to the 3d comp.
What am I doing wrong ?
cheers, Johan