Effects of gravity on objects in space