Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Is this a bug? If not can anyone fix it?

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

    Posted by Matt Volp on June 11, 2017 at 12:15 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!?

    Matt Volp replied 8 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 11, 2017 at 3:21 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

  • Matt Volp

    June 11, 2017 at 3:28 pm

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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy