I'm making a game that has tanks which have the LoS And Turret behavior. Now I am able to make the tanks fire at enemy objects. These enemy objects however, also need to be solid, as I don't want the tanks to be able to drive right through them, nor do I want the tanks to be able to 'see' through them.
Problem is however, that the tanks won't shoot at these enemy objects if you either make the object a solid, or put a seperate solid sprite underneath or on top of the enemy object.
How can I go about accomplishing this?
P.S. I also noticed the tanks will fire directly at the original image point of the enemy object. The tanks will need to be able to 'see' the image point, apparently?