Ejemplo n.º 1
0
 def Orbit(self, *args):
     if self.IsTracking() and self.IsBeyondZoomDistance():
         self.StopTracking()
         self.AnimLookAtTransit(self.positionAnimator.ball,
                                self.eyePosition)
     else:
         BaseSpaceCamera.Orbit(self, *args)
Ejemplo n.º 2
0
 def Orbit(self, dx=0, dy=0):
     if self.IsTransitioningToOrFromTracking(
     ) and IsDynamicCameraMovementEnabled():
         return
     BaseSpaceCamera.Orbit(self, dx, dy)
     if self.IsTracking() or self.IsChasing():
         self.Track(None)
Ejemplo n.º 3
0
 def Orbit(self, *args):
     BaseSpaceCamera.Orbit(self, *args)
     uicore.animations.StopAnimation(self, 'yaw')
     uicore.animations.StopAnimation(self, 'pitch')
Ejemplo n.º 4
0
 def Orbit(self, dx, dy):
     BaseSpaceCamera.Orbit(self, 0, dy)