Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 def fetchMatrixProvider(cls, vProxy):
     pointOffset = getLocalAimPoint(vProxy.typeDescriptor)
     return GUI.WGVehicleMagneticAimMarkerMatrixProvider(
         vProxy.matrix, pointOffset)