Obito's left half is being taken over, his Sharingan side, by being impaled by black rods. [1]
Interestingly, Obito gets impaled by Madara's black rods, his will, before [2].
I presume that this is what allowed Madara to take him over.
Madara had this planned out for a while showing his...