How to setup an animatable pivot in maya using constraints.

Method

The animatable pivot is created by connecting the inverseMatrix of the offset control to the offsetTranslation and offsetRotation of the parent constraint.

Note

The parent_loc position changes after setting the animatable pivot up ( if outside of the origin ), this means that the parenting of the objects to the locator need to be done after the initial setup. The top group can be parented, scaled, translated and rotated without destroying the setup.