The British empire didn't really collapse, as such. Britain just couldn't maintain it after the financial stress of WWII. Also independence was implicit in the WWII support of some of the colonies. So a war weary Britain (grudgingly) granted independence to it's former colonies. It went better in some countries than others. The partition of India was a disaster.