Whats the best way To handle Character hit reactions base on the incoming hit direction

Interested in this kind of interaction too. Need a way to transfer the impact velocity to the character getting hit, and with the capacity to modify how that is applied in various ways for use with different magic spells and their effects.