Move a group object

I have some object such as a group of human. we can select one human or all human in the group. How to move human more than one to coordinate that mouse picked. Because if i move one by one to this coordinate they will be one at this coordinate. What algorithm to move more than one human to one coordinate? 

hint: think of the picked object as the origin



algorithm: get the difference of old to new position of the picked object. Then loop through each of your 'other' objects' position and apply this difference.



(I think you are asking how to move a group of humans, but maintain their positions in relation to each other)

:lol:OK thank, i will try it!