Effect of gravity on objects of different mass