ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

If Position Increases or Decreases

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Martin Eke
If Position Increases or Decreases
on Aug 13, 2019 at 12:20:56 pm

Hi everybody, I'm pretty new here but I've been lurking for a while trying to figure this out.

I've got a simple position movement. Got 3 keyframes across 2 seconds. My shape layer moves from one side of the screen to the other, before moving back to its original position. Got some simple easy ease on this as well.

On the same shape layer, I've got an expression on the Rotation property.

position.speed/80

This is allowing me to rotate my shape layer based on the speed of the position property. This works perfectly for the first half of the animation, when it moves from the left hand side of the screen to the right... However, I want to be able to reverse this expression so that when the x position property is decreasing, the rotation happens in the opposite direction.

If anyone could help out, I'd really appreciate it!


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]