Copiar vínculo al Portapapeles
Copiado
I have a mocha tracked null. I child another null thats slightly offset in XY. Now the child's coordinates are relative to the parent. But how can I get the child's true position in the comp?
This seems too easy:
thisComp.layer("parentNULL").transform.position + thisComp.layer("childNULL").transform.position
Am I missing something?
Copiar vínculo al Portapapeles
Copiado
That should work if they're both nulls, but this is probably the better way to do it:
thisComp.layer("childNULL").toWorld([0,0,0])
Or maybe this, if it's all 2D stuff:
thisComp.layer("childNULL").toComp([0,0,0])
Dan
Copiar vínculo al Portapapeles
Copiado
Aha! Fantastic! I was getting some minor misalignment errors with my method. Yours is spot on! Thank you!
Encuentra más inspiración, eventos y recursos en la nueva comunidad de Adobe
Explorar ahora