def __init__(self, playerId, settings): PartAnimatorBase.__init__(self, playerId, settings) self.axis = [SLATS_AXIS] self.matrixProvider = BigWorld.AileronMatrixProvider() self.maxAngle = self.settings.visualSettings.slateOffset self.slateOnAngle = math.radians(self.settings.visualSettings.slateOnAngle) self.speed = math.radians(settings.visualSettings.slateSpeed)
def __init__(self, playerId, settings): PartAnimatorBase.__init__(self, playerId, settings) self.reversed = False self._normalizedSpeed = 0.0 self._shakableAxis = consts.ROTATION_AXIS.PITCH self.delay = 0 self._shakeSettings = None self.maxAngle = self.settings.visualSettings.aileronMaxAngle self._triggerStates = tuple() self.activeShakeState = None self.matrixProvider = BigWorld.AileronMatrixProvider() self.reloadSettings() return
def __init__(self, playerId, settings): PartAnimatorBase.__init__(self, playerId, settings) self.matrixProvider = BigWorld.AileronMatrixProvider() self.reversed = False