Maya: How to Uniformly Move Two Objects Towards Each Other
Here’s a quick trick for when you have two objects in maya and you want them to move towards each other by exactly the same distance:

First, make sure that the pivot points of the objects you want to move are EXACTLY lined up on the axis you want to move them on. The easiest way to do that is to snap the objects to the grid using grid snapping.
!
Next, create a locator (Create -> Locator) and position it EXACTLY between the pivots of the two objects you want to move.


Next do this one at a time for each object:
- With the rigging workspace enabled, select the locator and then one of the objects.
- Select Constrain -> Parent from the top top toolbar

Now that you have constraints set up, if you scale the locator (scale it uniformly by dragging from the center), the objects should move towards each other when you scale down and away from each other when you scale up.

A few extra notes:
- This trick works if you want to move one group of objects towards another group of objects as well. Just make sure that the pivot points of the groups are EXACTLY lined up on the axis you want and the locator is EXACTLY between the pivots of the two groups.
- If you set the scale back to 1.0, it will reset the objects to whatever position you had them in when you set up the constraint.
- If you try to freeze transformations on the locator, it will reset the positions of the objects. If you want to pick a new “default” position for the objects, just delete the locator and parent a new one.