It was a hand puppet.
In fact, the puppeteer smacked his hand and his hand swelled up so much he couldn't take it off. This meant he had to kept the puppet on all day until the scenes were shot, and they had to cut the puppet off his hand at the end of the day. Poor Mr Rancor.
And that there, is my 'Rancor is a hand puppet anecdote'.