mandag den 25. november 2013

Getting world space coordinates - Comp space - Comp Coordinate

Lets call this one.... Beam Glue

Have been looking for this Expression for a long time, but finaly i found it.
This one is for linking stuff together, that is allready parented fx Beam Between 2 Nulls

//2d
//Video copilote
//ngambles

lay = (pickwhip the child null layer) ;
pos = lay.toWorld( lay.anchorPoint);

And another one (with extra control)


//2d
//Mograph.net
//iline

lay = thisComp.layer("Parent NULL")
wrld=lay.toWorld(lay.anchorPoint);
[wrld[0],wrld[1]]



//3D
//Dan Ebberts

L = thisComp.layer("Solid 1");
P = L.toWorld(L.anchorPoint);
Where P[0] =x,P[1] =y, and P[2] =z
AE POSTWORK blog is virtually just a notepad, where I put all the AE expressions up I finde and use, its so I can easily get to them wherever I am and no matter what computer I sit at. I do not write my own expressions, so all expressions on the page is downloaded from the web,or modify versions i found. and tutorials etc.. I will try to credit those who have made expressions if I can.

Now, with tips and tricks for AE & C4D.
No more forgetting the little tricks and tips I found on my road with After Effects, etc.

Sebabba