Agreed, he was somewhat manipulated by Madara too, who wanted a successor to achieve his goals. There's also the fact of the Uchiha's dynamic of love/hatred which Tobirama explained. I don't like neither dislike Obito, but I see people hating him or blaming him for being a bad villain because he went through the dark side due to Rin's death. I don't think this is a bad reason afterall, people going to the dark side after losing their beloved ones is something very common on fiction, and Obito was an orphan, he had no one he loved besides Rin, so when she died he lost pratically everything he had.