Use matrix to transform each building group and use local coordinates for each group.