Skip to main content
alexthehamlin
Known Participant
November 11, 2016
Answered

Strange issue animating rectangle path - wrong parameters changing

  • November 11, 2016
  • 2 replies
  • 3906 views

I'm trying to keyframe the path of a shape layer I created with the rectangle tool, but running into a strange bug.

I converted the rectangle to a Bezier Path, then keyframed the position of two of the points. However, instead of animating the position, the entire shape scales down between keyframes, then jumps to the new position when it reaches the second keyframe. Any ideas on what's going on here??

This topic has been closed for replies.
Correct answer Szalam

This is in the help file, I think:

IMPORTANT: When you use the Convert To Bezier Path command to convert a parametric shape path to a Bezier shape path, the Bezier path that is created does not animate well (i.e., interpolation between paths behaves strangely and unpredictably). This is related to path direction and how transformations are stored. For now, you should not use these converted paths for animated paths (interpolation between paths); but, if you do want to try, you may be able to work around the issues by reversing the path before conversion.

2 replies

Roei Tzoref
Legend
November 11, 2016
I converted the rectangle to a Bezier Path, then keyframed the position of two of the points.

when converting a parametric shape to a bezier path, there is a nasty bug that causes the first vertex not to be registered. once you register it (right click on the the square vertex, mask and shape path -> set first vertex) you should be fine.

Participating Frequently
June 9, 2017

This solved the problem for me!

Szalam
Community Expert
SzalamCommunity ExpertCorrect answer
Community Expert
November 11, 2016

This is in the help file, I think:

IMPORTANT: When you use the Convert To Bezier Path command to convert a parametric shape path to a Bezier shape path, the Bezier path that is created does not animate well (i.e., interpolation between paths behaves strangely and unpredictably). This is related to path direction and how transformations are stored. For now, you should not use these converted paths for animated paths (interpolation between paths); but, if you do want to try, you may be able to work around the issues by reversing the path before conversion.

alexthehamlin
Known Participant
November 11, 2016

Interesting, I hadn't seen that before. I guess I'll just stick to making shapes with the pen tool then, I suppose. Thanks!

Szalam
Community Expert
Community Expert
November 11, 2016

Try the path reversing trick and it might work out just fine.