On Handling Discontinuities in Adjoint-based Optimal Control of Multibody Systems. - Maciej Pikulinski; Pawel Malczyk (MMAR, 2022)