-
createPath and toWorld?
Hi!
I’m trying to create a shape path which follows a mask path from another layer.
All ok if doing the simplest
thisComp.layer(“Black Solid 1”).mask(“Mask 1”).maskPathBut if the Black Solid 1 is animated, or rotated, repositioned, parented, etc the shape path is not following these transformation info
Do you know if there is a way to make a toComp to the maskPath in order to get the asbsolute values, so we always have the same shape Path (visually) as the maskPath no matter the Black Solid 1 transforms? (and even more, keeping the maskPath animation vertex keyframe data too)
I tried to redraw the shape using the createPath method
N = thisComp.layer("Black Solid 1");
maske=N.mask("Mask 1").maskPath;
points=maske.points();
inTangents = maske.inTangents();
outTangents = maske.outTangents();
isClosed = maske.isClosed();
createPath(points, inTangents, outTangents, isClosed)is that possible to use something like N.toWorld etc etc to make it work?
Do you think is that way is possible somehow?thanks!