Pātuhitia tēnei: Bifurcation and chaos in nonsmooth mechanical systems