In very low density situations where a single myxobacterial cell is isolated from direct contact with other cells, the slime capsule interaction with the substrate or slime tracks on the substrate produce a viscous drag that results in a smooth gliding motion. Viscoelastic interactions of myxobacteria cells in a low-density domain close to the edge of a swarm are studied using a combination of a cell-based three-dimensional computational model and cell-tracking experiments. The model takes into account the flexible nature of Myxococcus xanthus as well as the effects of adhesion between cells arising from the interaction of the capsular polysaccharide covering two cells in contact with each other. New image and dynamic cell curvature analysis algorithms are used to track and measure the change in cell shapes that occur as flexible cells undergo significant bending during collisions resulting in direct calibration of the model parameters. Like aspect-ratio and directional reversals, the flexibility of cells and the adhesive cell-cell and cell-substrate interactions of M. xanthus play an important role in smooth gliding and more efficient swarming.