`state’ is introduced for the contact class to unify `active’ and ‘frictional_state’