Digitally animated lego

Hi Does anyone know how to animate lego digitally with flying particles like this video. The animated lego is on the 35th second. http://www.youtube.com/watch?v=mO4fP1DwBeo&list=TL2GP-VNVmcwOZJhSfnKE1QwcLlSjfllu0#t= Thanks