Dynamic behaviour of rocking rigid bodies