Seol mar théacs é seo: Bifurcation and chaos in nonsmooth mechanical systems