I have to agree with Storm and Simonelocke, among several others: I rather strongly believe that a good author must be able to walk around in the character's shoes. He/she may not *like* the character, but you have to understand them.

That may be the hardest of all the characteristics of a good writer.