Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Getting to grips with velocity.

  • Getting to grips with velocity.

    Posted by Jamie Bradshaw on March 9, 2018 at 12:52 pm

    Hi all.

    To help explain, I have a property that is being animated with an expression. However, I want to amend the expression so that it can use it’s velocity at a certain time to also affect it. As it is an expression that is looking at itself, velocityAtTime won’t help me.

    As a test I added an expression that created two variables, (A) and (B); (A) being the value at time(t – 0.0001) and (B) the value at time(t). It then works out the velocity with a simple bit of code along these lines: (B – A) / 0.0001

    To then test if this was giving me correct results, I then created another layer with an expression to look at the same property that used velocityAtTime(t – 0.0001). Whilst the results are close, they are not the same. Would anybody know why?

    Here is a link to a project file to help explain my issue:
    12233_velocitytest.aep.zip

    Jamie Bradshaw replied 8 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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