Finding Distances In Maya
This tutorial teaches you how to find distances in Maya.
Now let's see how it works. Select the distance node and go to window>attributes editor, then go to the shape node.
Here you'll find the start and end point attributes. These attributes contain the X, Y, and Z position of both of the locators. These attributes are connected to the locators, so, if you were to move one of the locators, the distance would update. The attribute distance is the output and the distance between the points above.
Step two - Now use the distance tool and create two locators (distance points). It doesn't matter where the are.
Step four - Select one of the cubes, hold the shift key, and select one of the locators; this order is important, because we want the locator connected to the cube, not the other way around. Then go to constrain>point.
Step five - Select the other cube and the other locator and go to constrain>point.
Now you have the distance between those two objects. This measurement is based on the objects pivot point (not the surfaces), which, by default, is in the center of the object. If you have a problem using this technique, try selecting the model and going to modify>center pivot.