Copy link to clipboard
Copied
Okay I have no idea how to better formulate this or even search for this:
I have several vector shapes that I turned into shape layers in After Effects. And the bounding boxes of those shapes are only surrounding the shape, as they should - but when I want to apply an effect, for example corner pin, the bounding box is suddenly the size of the whole canvas.
How do I get the pins to be on the outside corners of the shape and not the canvas?
I hope the gif clarifies what I mean....
The problem with Corner Pin and shape layers is that a shape layer has no dimensions for Corner Pin to look at, so it chooses the comp frame size.
The only reason to convert a vector layer (Illustrator file) to a shape layer is to use shape layer animators, animate the vector path itself, or extrude the layer. If you are not doing any of those things, don't convert the layer to a shape layer. Converting fouls up brushes, blends, gradients, a bunch of other Illustrator tools, and render time a
...Copy link to clipboard
Copied
You have to pre-compose and adjust the size of the pre-comp. Effects always use layer bounds. That's just how AE works.
Mylenium
Copy link to clipboard
Copied
The problem with Corner Pin and shape layers is that a shape layer has no dimensions for Corner Pin to look at, so it chooses the comp frame size.
The only reason to convert a vector layer (Illustrator file) to a shape layer is to use shape layer animators, animate the vector path itself, or extrude the layer. If you are not doing any of those things, don't convert the layer to a shape layer. Converting fouls up brushes, blends, gradients, a bunch of other Illustrator tools, and render time actually increases a little bit.
If you absolutely need to create a shape layer from an Illustrator layer and you want to use Corner Pin, the only option is to pre-compose the Shape layer, open the Pre-comp, use the Region Of Interest tool to include only the shape layer boundaries, then choose Composition/Crop Composition to Region of interest menu. This will put the corners at the corners of the nested comp, but as soon as you Collapse Transformations, the corners will revert to the corners of the composition. The position of the pre-composed shape layer will also change when you crop the comp.
Copy link to clipboard
Copied
Thank you! I didn't need to do path animation and went with just the shape layers instead and everything worked out nicely.
Copy link to clipboard
Copied
One hack for the illustrator to vector layer issue in AE, if you have XD, open the AI file in XD and under the file menu, under export, you will get an option to export as After Effects file and it creates all the layers as native AE elements other than images and videos if any.