PS: Also I'm completely new to AE and also pretty much to AI, so it's prolly something obvious
Effect paths are relative to the layer and shape layers use a differnt coordinate system than conventonal layers. Furthermore positioning and scaling may introduce additional coordinate changes not relative to the layer, but the comp. There you pretty much have your answer, you need to work out a consistent logic and work to scale from the start.
So no moving or scaling paths in AE and then it should work?
The moving and scaling can only be done in other programs like AI?
I'm basically trying to follow this tutorial:
But, the problem is that my motionpath (for the lensflare) has moved compared to the original image. I don't know why, the guy in the tutorial doesn't have that problem?
If you have created paths then you can transform the path. Do not use scale if you are planning to copy and paste vector paths to motion paths. It doesn't work with masks, it does not work with shape layers.
Take a quick look at this short video. It explains how to copy and paste a motion path to a camera, you can paste it to any layer.
Thanks for the help, but still no luck so far.
I tried with all new documents:
Created a new 1920*1080px document in AI,
Drew a square in the top left corner
Created a new 1920*1080px composition in AE
created a new solid (and made comp size)
added a lens flare to the solid
Didn't move or scale anything
Now if I copy/paste the path from illustrator directly (through the clipboard) to the flare center, the path (the motion path that the flare follows) gets moved from the top left where i drew the square to the center of the document.
If I open the AI document in AE and create shape from vector layer, everything looks right (square in top left corner) but if I copy/paste this path to the flare center, the path (the motion path that the flare follows) gets moved from the top left where i drew the square to some seemingly random position.
Is there something else i should do? Things I should look out for when I create the documents for example?
So here is what i got so far:
imported the illustrator shape and made a mask from it (Image 1). When I copy paste the mask path to the centre of the circle, it jumps to a new location away from the original (Image 2).
Is it possible to have something follow the shape (or path) without having it jump to a new location?
This has to do with the size of your object in Illustrator and the way you bring the illustrator layers into AE. If you have a path in AE on a layer that is not scaled you can copy and paste the path to a motion path and maintain position. Simple as that. Copying from Illustrator can be problematic unless your Illustrator document is set up exactly the same as your Comp in AE.
So how do i set up both documents so they are exactly the same?
They are both 1920*1080px is there something else i should set up?
Finally found a work around:
import the ai file, convert to shapes, add mask to shape layer and copy shape path to the mask path.
Create null layer, add mask, copy the previous mask path to this mask (which causes it to jump to a new location). Fix all four shape values of this mask by subtrackting the correct position coordinates. The mask now doesn't overlap with the original image, but effects applied using this mask do follow the original image and not the mask.
I doubt this is the way to do it, since the program has all the info it needs to do this by itself but nothing else seems to work.
Added an image to show what I mean: the mask is the corrected mask, the outline is a stroke set to "luma matte" the original image. And the stroke was made using the corrected mask... If that makes it clear
Thanks for the help. If someone knows what I'm doing wrong or how i can do it faster i'd be happy to hear it.
Just copy the shape path by setting a keyframe, then paste to position. If I get a few minutes I'll post a video.
Im having this problem but Im not importing anything from illustrator. Im simply trying to paste my path into the position of my shape or solid and it does not paste correctly in CC 2015.
So I'm having an issue that is kind of related to this and it's driving me insane. So I have a vector (eps) file that has to travel along a path, I set up a null object, used the pen tool to mask out the path copied the mask path data and pasted it into the position values and it copies it in but the path scales up! any ideas as to why this is happening? is there a way it won't do this, or a way i can scale a path down?
The most annoying thing is I did this very same method for another animated vector file and it worked no problems at all!! I just can't find the issue!
Thanks in advance guys!
I had the same issue doing a write on effect, I solved doing this:
Copy the path from AI
Paste the path as a mask
move the path to the desired place
Cut the mask path
Paste the path over the null or effect position