ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Re: linking opacity to rotation

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


Dan EbbertsRe: linking opacity to rotation
by on Sep 22, 2011 at 7:33:35 pm

This should work:


angle = transform.rotation%360;
minAngle = 100;
maxAngle = 120;
mid = (maxAngle+minAngle)/2;
if (angle < mid)
linear(angle,minAngle,mid,0,100)
else
linear(angle,mid,maxAngle,100,0)



Dan



Posts IndexRead Thread 


Current Message Thread:





© 2016 CreativeCOW.net All Rights Reserved
[TOP]