 For the character of Sonny the accused robot, the effects team used  the same process that was used to create Gollum in  _Lord of the Rings: The Two Towers, The (2002)_ (qv), with  Alan Tudyk (qv) providing the body movements and voice for Sonny.