예제 #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)
예제 #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)
예제 #3
0
 def Orbit(self, *args):
     BaseSpaceCamera.Orbit(self, *args)
     uicore.animations.StopAnimation(self, 'yaw')
     uicore.animations.StopAnimation(self, 'pitch')
예제 #4
0
 def Orbit(self, dx, dy):
     BaseSpaceCamera.Orbit(self, 0, dy)