Rigging a Rubixcube
To rig a rubixcube involves a lot of scripting. That is because there can not be on control handle be assigned to a specific cube.
My solution is based on a linear solve. If the timeline is played by every frame. it can solve multible axis rotation and non 90degree rotations.