-
3D Corner Pin to corners of another layer
I am trying to connect two corner pin points to the upper right and lower right corners of another 3D layer using the 3D corner pin expression on motionscript.com, but I’m trying to convert the anchorPoint part to the upper right corner on the target layer:
Can anyone tell me what I am doing wrong?
Thanks.
(link to motionscript: https://motionscript.com/design-guide/threeD-corner-pin.html)
target=thisComp.layer("UL");
fromComp(target.toComp([target.anchorPoint[0]+target.width/2,target.anchorPoint[1]+target.height/2,target.anchorPoint[3]])