I'm doing a mini shooting game in XNA but I can not figure out how to calculate the following:
Knowingthepositionofthecenteroftheimage,thedirectioninwhichitispointingandthedistancebetweenthecenterandthe"nozzle" of the weapon, how to know the X and Y position of the weapon's spout?