This is a simulation of two masses connected by a spring. Things for you to try out: 1) Set the gravity really low and see what happens. 2) Set the spring constant to 0. 3) Set friction to 1. 4) Set the restitution to 0. 5) See what air resistance does to the oscillations. 6) Set the spring length to a really small number and pull the two balls apart.