def predictLockedTargetShotPoint(self):
     autoAimVehicle = BigWorld.player().autoAimVehicle
     if autoAimVehicle is not None:
         autoAimPosition = Math.Vector3(autoAimVehicle.position)
         offset = getLocalAimPoint(autoAimVehicle.typeDescriptor)
         autoAimPosition += Math.Matrix(autoAimVehicle.matrix).applyVector(offset)
         return autoAimPosition
     else:
         return
Beispiel #2
0
 def fetchMatrixProvider(cls, vProxy):
     pointOffset = getLocalAimPoint(vProxy.typeDescriptor)
     return GUI.WGVehicleMagneticAimMarkerMatrixProvider(
         vProxy.matrix, pointOffset)