Let us start by adding the keyframes for each bounce.
i.e. Position of the ball on the frames that the ball bounces each time as we have planned.
You will have to go to the specific frame on the timeline, select and move the ball to the position you want and set a ‘key’ for it. If you are using software other than Maya, before starting make sure that you set keyframes on the timeline for an object.
Most software’s will allow you to add keys automatically by switching on an autokey button. Keep the autokey button switched 'ON'. This will automatically set a key at the current frame for any change that you make to your selected object.
Refer the Video for details:
Now, let’s go to the orthographic side window and move the ball to the first position.
Simply press + on the keyboard to add the first position keyframe.
On the timeline move the cursor to 25th frame and move the ball to the next bounce position. Repeat this to add all the bounce keyframes. Note that the distance between each bounce will be lesser and lesser. Now we can add the keyframes for the middle positions between the bounces. Keep in mind that, each time the ball will bounce less as you do this until it stops bouncing. After this, the ball will roll along the floor until it comes to a stop. Hence, the last keyframe will be a few frames ahead after the ball stops bouncing.