I want to animate a cube that moves from right to left, falling from one side to the next, and so on. But to animate the cube, the pivot point must change. Because the cube falls first over edge A, then over edge B, then over edge C and so on. To change the pivot point, I tried to set the origin always to another edge. But that doesn't work because then the origin changes permanently. I would always have to move the origin to where I need it to make the animation work. How would you solve this? Thanks for your help!
To add to Mr Bill's answer, you can parent your cube to an empty, and parent this empty to another one, and so on. Here the cube is parented to empty 1, and empty 1 is parented to empty 2:
Now you can animate empty 2, then animate empty 1. Don't forget to keyframe empty 1 just before its own rotation so that the cube correctly sticks to the the right position. Here is what it gives: