Hi all,
I have a player ship with 4 armour locations, front, rear, left, right.
I'm trying to determine the angle a bullet hits the player ship so to determine hit location (like which armour takes damage). 0 is front, 90 is right side, 180 is rear, 270 is left.
The world angles are zero to the left, then clockwise around.
I know the player's angle of rotation. I know the world angle the bullet comes from with respect to the player.
I just don't know how to translate that to a hit location. Please see the image below:
<img src="http://gordonlittle.ca/images/example.jpg" border="0" />