The revised Star Wars d20 RPG (not Saga!) had a feat in the Hero's Guide, Agile Riposte. You needed Dodge to take it, and once per round, when your dodge target missed you with a melee attack or melee touch attack, you got an AoO against them.
Later in the same book, there was the Redirect Attack feat, which synergized well with Agile Riposte. It also needed Dodge, and if your dodge target missed with a melee attack and there was another enemy adjacent to you and within the attacker's reach, then once per round you could force him to reroll his attack against the other enemy. Because this is completely separate from an AoO, you could use both feats on the same miss!
I actually put both of them (minus the Dodge requirements) as class abilities in my
Fighter rewrite.