First time poster on these forums so I hope somebody is able to help or point me in the right direction.
I'm currently writing only my second ever java game from scratch, not using a framework of any kind yet (maybe that would help with this issue), but have run into a problem that has me a little stumped.
The game i'm working on is a missile command style game, however with real missile sprites raining down on city sprites. Now I have my AffineTransform rotating my missiles to the correct angles (which are randomly generated) based on a start and end X and Y (again both randomly generated) BUT my bounding box for each missile is obviously not rotating with the missile. The even bigger problem is that even if I get the bounding box to rotate to envelope the image the image itself has too much blank space either side which would count as a collision when none actually occurred.
Is there some way for me to implement a smaller bounding collision box for my larger image which also follows the rotation of that image?? If only the tip of the missile counted as a collision instead of the whole missile that would be a bonus!