I've been struggling a bit with this problem and I figured its time to bring it to you guys What I'm trying to achieve is this:
1. the player fired off a bullet at an enemy
2. the bullet impacts at a certain angle.
3. IF the health of this particular enemy instance is 0 or below, blood splatter appears on the opposite side of the enemy.
I have tried to use an instance variable on the enemies that stores the last impact angle of a bullet impact, but I cant figure out how to retrieve it and use it to set the angle for anything else I want to spawn. Anyone has an idea of how this could be done?