I'm hoping that Earl Boykins is not the trailing teammate

but yeah
JaoSming, is right, its all about timing and position of both passer and dunker.
Also Dunk, Hands, Speed rating of the trailing team mate are very important for the off the glass alley-oop to be successful.