ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Counter Animation

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Pedro Carvalho
Counter Animation
on Jan 25, 2018 at 10:04:56 pm

Hi there!!! I'm changing somethings in a expression but I can't get work. Somebody could help me? I know that is a pretty easy...

This is my expression
I have two sliders, 1 for "Animation" and another for number "Value"

I need to implemet at least 2 decimals values. I can't remove "Math.floor" e define 2 decimals.

Thank for read and sorry for bad english =)

Math.floor(easeOut(time, inPoint, inPoint+effect("Animation")(1)/30, 0, Math.floor(effect("Value")(1))))


Return to posts index

Dan Ebberts
Re: Counter Animation
on Jan 25, 2018 at 11:16:00 pm

Maybe like this:

Math.floor(easeOut(time, inPoint, inPoint+effect("Animation")(1)/30, 0, Math.floor(effect("Value")(1)*100)/100)*100)/100

Dan



Return to posts index

Pedro Carvalho
Re: Counter Animation
on Jan 25, 2018 at 11:23:49 pm

Owwww worked like a charm, thank you so much =D


Return to posts index

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