Copy link to clipboard
Copied
Hi!
Curving the Position property of a layer is easy:
But I can't seem to be able to do the same with the Position property of the the shape:
Other than pasting a path in the Position property, is there a solution?
Thank you!
Chris.
Copy link to clipboard
Copied
I found a solution:
Now if only I could find a solution for Path animations... (Found it: lots of tweeking with the Graph Editor seems to work.)
Copy link to clipboard
Copied
Unfortunately, the only motion path available for viewing or editing in the Composition Panel is the Layer/Transform/Position property.
If you have position properties from effects applied to text or other layers, you can open the layer in the Layer Panel, select the property in the render menu in the right corner, and then see and adjust any effect/motion path.
Unfortunately, Shape layers cannot be opened in the Layer panel.
The easiest option you have if you want to see the motion path in the comp panel and be able to edit it there is to add a vector path to the shape layer with no stroke, then use the Window/Create Nulls from Paths.jsx/Trace Path script to create a null from the Shape Layer path, then add this expression to the Shape Layer/Contents/Ellipse 1/Transform Ellipse 1/Position property:
p = thisComp.layer("Trace Shape Layer 1: Path 1 [1.1]").transform.position;
cSize = [thisComp.width/2, thisComp.height/2];
[p[0]- cSize[0], p[1]-cSize[1]]
You can then adjust the timing with the Trace Path/Progress keyframes on the null layer, and you can edit the motion path at any time. If the shape is not round and you want to add rotation to it, a simple pickwhip expression to the Null's rotation property will fix that.
You could also modify the expression added to the Trace Null's Position property and apply it directly to the Transform Ellipse/Position property if you want.
I use the Create Nulls from Paths script all the time. It is a great time saver when you want to create complex motion graphics that can be edited. It even works with MOGRT's in Premiere Pro.
Copy link to clipboard
Copied
Thank you so much! Everything works exactly as planned according to your instructions. However, when I test with a triangle, the shape moves out of place when I use the pickwhip expression to link it to the Null's rotation property.
Copy link to clipboard
Copied
Your shape layer must have all of the object transforms at the default positions (0, 0), not be scaled up, and the layer position must be at the comp center with the anchor point at 0, 0 (the default).
It looks like your triangle was drawn freehand. To center it, use the shape/transform controls.
Copy link to clipboard
Copied
Hi!
Thanks again for your answer.
Here is a test with zeros everywhere:
Here is a test with zeros only in the shape properties:
Since none of my tests work, I'm clearly missing something 🤔
Thanks again!
Copy link to clipboard
Copied
I took about 15 minutes and made you a simple tutorial. I hope it helps.
I also included a project file for you to look at. I also left out the simple pickwhip to the rotation property when I edited the screen capture. You should be able to figure that out.
Copy link to clipboard
Copied
Perfect! Thank you! 😄