def getTranslationMidpoint(a, b):
    """
    Return a vector representing the middle point between the
    world translation of two nodes.

    Args:
        a: A transform node
        b: A transform node
    """
    ta = a.getTranslation(ws=True)
    tb = b.getTranslation(ws=True)
    return (ta + tb) * 0.5