Comment 4 for bug 895500

Revision history for this message
mevitar (mevitar) wrote :

Got an idea how to get past the evil 3D math here :P (well, at least some of it). However, it involves using issue 1681.

Like WoRmINaToR wrote, when trying to shoot through a building with an invisible projectile, treat it as a wall - it would force the unit to move around the building, and find a better place to shoot. However, when actually trying to attack the buidling itself, make the unit fire at a random point, like requested in 1681, instead of calculating the trajectory of the projectile (maybe do some minor calculations, to prevent situations like shooting at the south side of the building, when the unit is attacking from north).
Sadly, this probably doesn't solve it for air units at all...

I understand it won't make it until 0.5 anyway, just an idea I wanted to share.