Text this: Multibody dynamics with unilateral contacts