Check which direction the player was hit from?

dot product multiplies each one then adds them
Where [5,2,1] and [6,4,3] are multiplied like so:
(56)+(24)+(1*3) = 30 + 8 + 3 = 41