Bounce of EaseBounceOut effect

Hello, i’m try to make a bounce effect when a diamond drop down.

auto move = MoveTo::create(time, endPosition);
auto move_ease_out= EaseBounceOut::create(move);

But when the diamond move over short distances (time ~ 0.062) it’s almost not bounce.When distance larger than (time ~ 0.18) it is very nice.
How can i use this effect when the distance is short?

I guess, that’s because when you are using MoveTo::create(float dt, Vec2 pos)
you are setting the time for your action.

Lets say you set the time to 1 sec, so the action MoveTo will be completed in 1 sec.
Now imagine when someone says you to run 1 meter in 1 sec and 100 meter in 1 sec, obviously your speed will increase right ?

Thats what happenning here, when the diamond travels short distance then the action speed is measured like normal physics.

speed = dist/time.

and the EaseBounceOut reflects the MoveTo action

when the MoveTo is slow then the EaseBounceOut is doing it’s job like normal but it is barely visible.

For your question you could decrease the time to get the reflex action working on
but it would eventually act on long distance actions also. :smile:

Gud luck
Happy Coding :smile:

I was understand.
Thanks you!