help with a bounce expression
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
