And yet the irony is that when Optimus is done properly he is flawed. His whole "boyscout" thing is the result of guilt over bringing the war to earth in the Marvel Comics, while the death of Ratchet for example, rocks him to the core.
In retrospect, one of the things that IDW really screwed up with is how little the death of Bumblebee seemed to affect Optimus Prime. In the Marvel Comic, the death of Ratchet temporarily broke him, but in IDW I didn't see any of that with the death of Bumblebee.
The problem is the director of the live action movies and always has been - Bay is little to no substance and all style. That's great if you're shooting a commercial or music video, or simply to dazzle audiences into seats to the tune of hundreds of millions of dollars, but it's never going to get you anything of artistic merit or critical acclaim.