3 Replies Latest reply on Jun 15, 2009 2:02 PM by TimeRemapper

# Simple Motion Path Question

I create a simple shape layer and then add some keyframes to move it around. The only problem is that the motion path appears 3-4 inches away from the object itself. Not sure why this is and I can't seem to find the solution.

The object goes where I want it to, but having the path out of alignment makes it harder to be accurate. Any solutions would be much appreciated.

Thanks,

Ray

• ###### 1. Re: Simple Motion Path Question

Raycer:

The reason why this happens is because shape layers are designed so that each shape you create has an independent transform group of properties, with its own position, anchor point,  scale, etc. This is actually really cool, since it lets animate multiple shapes in very sophisticated ways, independently from the animation for the main transform properties of the layer itself.

Because of this, the main anchor point for the whole layer may not be centered around the content.

In this case, a very simple solution is: go to the start (in point) of your shape layer, reveal the main Anchor Point (press the A key to do so) in the timeline and drag the values until the shape is centered in the first keyframe for your motion path. This way of adjusting anchor points redefines the "threading" point of your layer relative to the motion path, without affecting the motion path itself (it's the opposite behavior from what the Pan Behind tool does).

Let me know if this is confusing.

• ###### 2. Re: Simple Motion Path Question

Hey Ray.

It's likely that you transformed your shape path away from the origin (anchor point) of the layer itself.

If you expand all of the options for the shape layer in the timeline, you'll see multiple transformation settings (which may seem redundant, but they are not).

The first one will apply to the shape as it exists within the shape layer.

The second one applies to the layer itself.

If you want your path to line up, you could either center your shape to the anchor point, or move the anchor point to the center of your shape.

• ###### 3. Re: Simple Motion Path Question

You guys are both right. I was accidently moving the shape layer away from the anchor point before creating keyframes. Now I know how to correct that (via moving the anchor point) if it happens again.