I'm looking to have an achor point in the middle of an image for all frames leading up to one point, then have the anchor point switch to a different point, and then finally have the anchor point switch back. I tried doing this with keyframes on the anchor point, but the problem is that when I move the anchor point in a second keyframe (the first keyframe having the original anchor point position), the position of the image changes when I go back to frames before the second keyframe.
In other words:
I'm trying to move the anchor point without affecting the position of the image for this particular animation. Animating the anchor point seems to affect the position of the image. What can I do? Keyframe the position to stay still? Is there a better way?
Okay, so I made a workaround by duplicating the layer and changing the anchor point, but this seems like kind of a weird workaround, and I feel like somehow probably knows a better way.
p.s. Do you guys ever have moments working with AE where you are like, "This program rocks."?
The first question I have is why do you want to do that?
If you're doing a rotation or scale around the anchor point and you want to change the axis as the animation proceeds then I could possibly understand, but this is kind of a wonky workflow to me.
Be that as it may, try adding this expression to your position value:
apAdjust = anchorPoint - [width, height]/2; value + apAdjust
Changing the anchor point will now now not change the position of the layer. This will work for 3D and 2D layers.