Motion of connected bodies