ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Is this a bug? If not can anyone fix it?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Matt Volp
Is this a bug? If not can anyone fix it?
on Jun 11, 2017 at 12:15:41 pm

Hi,

I have the following expression on the 'start' range selector of a text animator.

dur=1

if (time < inPoint+dur)
linear(time,inPoint,inPoint+dur,0,100)
else
linear(time,outPoint-dur,outPoint,100,0)


It animates from the in point to 1 second, from 0 to 100. It then animates from 1 second before the out point to the out point, from 100 to 4.

Why is it not animating out to 0, as it specifies in the expression!?


Return to posts index

Dan Ebberts
Re: Is this a bug? If not can anyone fix it?
on Jun 11, 2017 at 3:21:46 pm

Maybe you just need advance the out animation one frame:

dur=1
f = thisComp.frameDuration;
if (time < inPoint+dur)
linear(time,inPoint,inPoint+dur,0,100)
else
linear(time,outPoint-dur-f,outPoint-f,100,0)


Dan



Return to posts index

Matt Volp
Re: Is this a bug? If not can anyone fix it?
on Jun 11, 2017 at 3:28:48 pm

Perfect, thanks Dan! I thought it would be something like that.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]