parameters: (self)
docstring: Activate the arrow keys, etc.
docstring_summary: Activate the arrow keys, etc.
docstring_tokens: Activate the arrow keys etc .
function: def enableAvatarControls(self):
          """
          Activate the arrow keys, etc.
          """
          assert self.notify.debugStateCall(self)
          assert self.collisionsActive
  
          #*#if __debug__:
          #*#    self.accept("control-f3", self.spawnTest) #*#
  
          # remove any old
          if self.controlsTask:
              self.controlsTask.remove()
          # spawn the new task
          taskName = "AvatarControls-%s"%(id(self),)
          self.controlsTask = taskMgr.add(self.handleAvatarControls, taskName, 25)
  
          self.isAirborne = 0
          self.mayJump = 1
  
          if self.physVelocityIndicator:
              if self.indicatorTask:
                  self.indicatorTask.remove()
              self.indicatorTask = taskMgr.add(
                  self.avatarPhysicsIndicator,
                  "AvatarControlsIndicator-%s"%(id(self),), 35)
function_tokens: def enableAvatarControls ( self ) : assert self . notify . debugStateCall ( self ) assert self . collisionsActive #*#if __debug__: #*#    self.accept("control-f3", self.spawnTest) #*# # remove any old if self . controlsTask : self . controlsTask . remove ( ) # spawn the new task taskName = "AvatarControls-%s" % ( id ( self ) , ) self . controlsTask = taskMgr . add ( self . handleAvatarControls , taskName , 25 ) self . isAirborne = 0 self . mayJump = 1 if self . physVelocityIndicator : if self . indicatorTask : self . indicatorTask . remove ( ) self . indicatorTask = taskMgr . add ( self . avatarPhysicsIndicator , "AvatarControlsIndicator-%s" % ( id ( self ) , ) , 35 )