-
Another null/puppet pin expression issue
Hiya –
Another tale of puppet pin/null expression woe.
Grabbed this expression to lock puppet pins to null anchor points, written just like this:
n=thisComp.layer(“null_name”);
nullpos=n.toComp(n.anchorPoint);
fromComp(nullpos);
Filled in the name of my null. Got everyone’s favorite: syntax error at line 1 in property ‘Position,’ etc etc.
Looked this issue up on the Cow forums, and tried all the magic fixes, many from Dan Ebberts himself.Tried this:
n=thisComp.layer(“NAME”);
nullpos=n.toComp(n.anchorPoint);
fromComp(nullpos);And just this:
n = thisComp.layer(“null”);
n.toComp(n.anchorPoint)Also this:
n=thisComp.layer(“null”);
fromComp(n.position);NOTHING. WORKS. No magic fix for me. Yet…?
Things to know:
1. The layer I am pinning is a precomp, which contains one layer;
2. There are 3 nulls in the main comp, none of which have been parented yet;
3. I have renamed the puppet pins based upon what they are controlling (eg. knee, toe, thigh)
4. I have tried these expressions with 3D ticked and un-ticked
5. I am using After Effects CC, build 2014.0.2 (13.0.2.3) on a Mac, running OS X 10.10.3 (Yosemite)Thanks!
n=thisComp.layer("NAME");
nullpos=n.toComp(n.anchorPoint);
fromComp(nullpos);
RF Jurjevics
Creature-at-Large
Big Creature Media, Inc
https://www.bigcreaturemedia.com
ro**@**************ia.com

