Skip navigation
Currently Being Moderated

Anchor Point Issue

Sep 13, 2012 10:14 AM

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?

 
Replies
  • Currently Being Moderated
    Sep 13, 2012 11:01 AM   in reply to 420jammer

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 13, 2012 11:03 PM   in reply to 420jammer

    What Rick said. It's a pretty atrocious workflow. You better learn the fine art of building hierarchies using parenting for this kind of stuff...

     

    Mylenium

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points