Intercostal muscles are used during rotation of the thorax in humans.