Add contact/collision constraint.