Fixed in [r10406]. Tank has a getTurretLoc2(), which isn't overridden by VTOL. So, what was happening was in Compute.inArc, it looks like the VTOL has a dual turret (VTOL.LOC_TURRET = 6 and TANK.LOC_TURRET2 = 6), so it was using the facing of the secondary turret instead, and since there was no secondary turret it was using the facing of the unit.
I added a VTOL.LOC_TURRET2 and the corresponding abbreviation and name ("TU2" and "Turret 2").
Did you try right-clicking on the VTOL and then selecting turret twist left or right?
Works for me.
Nevermind, I lied. Tried it again with a Garuda Heavy VTOL and also got the 'target not in arc' error.
Fixed in [r10406]. Tank has a getTurretLoc2(), which isn't overridden by VTOL. So, what was happening was in Compute.inArc, it looks like the VTOL has a dual turret (VTOL.LOC_TURRET = 6 and TANK.LOC_TURRET2 = 6), so it was using the facing of the secondary turret instead, and since there was no secondary turret it was using the facing of the unit.
I added a VTOL.LOC_TURRET2 and the corresponding abbreviation and name ("TU2" and "Turret 2").
Related
Commit: [r10406]