I’m guessing that’s more of a physics settings thing than animation itself, I’ve created bouncy balls animations using physics before, but that left me with little to none control over the movement itself (direction, each bounce etc.)
Grant has a video on that here that I think you might like https://www.youtube.com/watch?v=4gYsxqNJyu8