Dynamics of Multirigid-Body Systems