animation with two interpolators

Viewed 13535

I need to do a animation with two interpolators, for example the animation have 1 seconde of duration for 0 sec to 0.5 sec uses accelerate interpolaor ans for 0.5 to 1 sec use bounce interpolator.

have a way for to do this?

4 Answers

This post is already old, but for the next one who lands here:

The Example from @ademar111190 isn't quite right.

In getInterpolation(float t), t needs to be between 0 and 1. This is the Timespan for the Animation. The used input 500 will completely ignore the 2nd Interpolator.

Here the link to the Documentation: Time Interpolator

Related