• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Curving the Position property of a shape?

Engaged ,
Aug 13, 2024 Aug 13, 2024

Copy link to clipboard

Copied

Hi!

Curving the Position property of a layer is easy:

 

Screenshot 2024-08-13 at 10.02.49.png

 

But I can't seem to be able to do the same with the Position property of the the shape:

 

Screenshot 2024-08-13 at 10.03.27.png

 

Other than pasting a path in the Position property, is there a solution?

 

Thank you!

 

Chris.

TOPICS
How to

Views

199

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 13, 2024 Aug 13, 2024

Copy link to clipboard

Copied

I found a solution:

  • Activate the Position property of the shape.
  • Create an animation using at least 3 keyframes.
  • Select the keyframes.
  • Right-click > Keyframe Interpolation > Auto Bezier for Temporal Interpolation and Spatial Interpolation.
  • Right-click > Rove Accross Time.
  • Easy Ease the keyframes.
  • Use the Graph Editor to control the velocity.

 

Now if only I could find a solution for Path animations... (Found it: lots of tweeking with the Graph Editor seems to work.)

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2024 Aug 13, 2024

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.

RickGerard_0-1723572100447.gif

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 13, 2024 Aug 13, 2024

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.

 

Screenshot 2024-08-13 at 15.25.22.pngScreenshot 2024-08-13 at 15.25.20.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2024 Aug 13, 2024

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 14, 2024 Aug 14, 2024

Copy link to clipboard

Copied

Hi!

 

Thanks again for your answer.

 

Here is a test with zeros everywhere:

 

Screenshot 2024-08-14 at 09.56.43.pngScreenshot 2024-08-14 at 09.57.30.pngScreenshot 2024-08-14 at 09.57.58.pngScreenshot 2024-08-14 at 09.58.23.png

 

Here is a test with zeros only in the shape properties:

 

Screenshot 2024-08-14 at 10.06.54.pngScreenshot 2024-08-14 at 10.07.12.pngScreenshot 2024-08-14 at 10.08.36.pngScreenshot 2024-08-14 at 10.09.01.png

 

Since none of my tests work, I'm clearly missing something 🤔

 

Thanks again!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 14, 2024 Aug 14, 2024

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 15, 2024 Aug 15, 2024

Copy link to clipboard

Copied

LATEST

Perfect! Thank you! 😄

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines