I have a simple project, a KinematicBody2D player, some KinematicBody2D enemies, and a gun that shoots KinematicBody2D bullets. When the enemy runs out of HP, if falls in the opposite direction that the sprite is facing. This is fine, unless the player shoots the enemy in the back and kills it, when that happens the enemy falls over in towards the player. So what I'm asking is: is there a way for the enemy to get the direction it was hit from, and fall in that direction when it was killed? Any answers are appreciated, and thank you for reading this far.