Four vertical springs each between two boxes with an assortment of damping and stiffness values using PhysX.

view code