Highlighted

help with a bounce expression

Community Beginner ,
Aug 07, 2020

Copy link to clipboard

Copied

Hello, I was using the bounce expression from this video; https://www.youtube.com/watch?v=J6EEninU8g0 
And I was able to copy paste the code from the google doc in the video description (second page of code); https://docs.google.com/document/d/12ymsMLNA0oiIZc8_iXS9zuEMUH1NGV1zbvwnHkm21DM/edit 

I would like to preface this with the fact that I have never tried to use expressions up until today; 
I added it to rotation as the video showed, but what I am rotating is not a square. I would like for my asset to rotate only once before bouncing, and it rotates several times and very fast and I would like it to be slower, spreading out the keyframes helped some but I am making a 5 second animation and I need to use the expression 4 times consecuitively without any overlapping so I cannot spread the keyframes out enough to slow it at a desirable speed. 

I was able to change the amount of times it bounces after rotating by editing the text "  nb = 1; // number of bounces" to two bounces by changing the "1" value to "2" and I was wondering what values I could change, if any, within the code to; 
1. Have my asset rotate only once as opposed to several times
2. Slow the speed at which my asset rotates

In this tutorial I'll be showing how to use Inertia Bounce and Bounce Back Expression in After Effects. Inertia Bounce and Bounce Back Expression: https://do...
TOPICS
Error or problem, Expressions

Views

104

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

help with a bounce expression

Community Beginner ,
Aug 07, 2020

Copy link to clipboard

Copied

Hello, I was using the bounce expression from this video; https://www.youtube.com/watch?v=J6EEninU8g0 
And I was able to copy paste the code from the google doc in the video description (second page of code); https://docs.google.com/document/d/12ymsMLNA0oiIZc8_iXS9zuEMUH1NGV1zbvwnHkm21DM/edit 

I would like to preface this with the fact that I have never tried to use expressions up until today; 
I added it to rotation as the video showed, but what I am rotating is not a square. I would like for my asset to rotate only once before bouncing, and it rotates several times and very fast and I would like it to be slower, spreading out the keyframes helped some but I am making a 5 second animation and I need to use the expression 4 times consecuitively without any overlapping so I cannot spread the keyframes out enough to slow it at a desirable speed. 

I was able to change the amount of times it bounces after rotating by editing the text "  nb = 1; // number of bounces" to two bounces by changing the "1" value to "2" and I was wondering what values I could change, if any, within the code to; 
1. Have my asset rotate only once as opposed to several times
2. Slow the speed at which my asset rotates

In this tutorial I'll be showing how to use Inertia Bounce and Bounce Back Expression in After Effects. Inertia Bounce and Bounce Back Expression: https://do...
TOPICS
Error or problem, Expressions

Views

105

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 07, 2020 0
Mylenium LATEST
Most Valuable Participant ,
Aug 07, 2020

Copy link to clipboard

Copied

No easy answers here. You simply have to experiment with the various values to find a combination that looks good. That said, the tutorial doesn't make a good case for actually using the expressions and does so in an unnecessarily convoluted way. Very apparently the creator barely understands what's going on himself and the animations he creates could be done by hand much faster. Therein likely also lies the answer: If your timeline is so densely populated, it may simply not possible to have an expression do the math for you and you may need to resort to classic keyframe animation for everything. and finding a better tutorial might not hurt, either.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0