I have a puppet rigged up with duik. On one part of my puppet I have added some puppet pins and some nulls. I want the pins to be parented to the null anchor points. I have tried to use this expression below to parent the pins to the nulls but the pin moves somewhere else on the layer and deforms it and does not parent. Im not sure why. I have done this before and didn't have this issue. Anyone have a clue please?
n=thisComp.layer("name of null")
nullpos=n.toComp(n.anchorPoint);
fromComp(nullpos);
I then tried this one
L=thisComp.layer("your null here"); L.toWorld(L.anchorPoint);
The pin gets parented but not in the correct spot. It parents far away and so my layer moves where I dont want it.