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