Corrected entry: During the shoot, the part of Dobby was played by an orange ball on a stick. rabid anarchist
Correction: They use orange balls on sticks most of the time when doing CGI.