(self)
Sets the camera into a tracking or a free-look mode.
Sets the camera into a tracking or a free-look mode.
Sets the camera into a tracking or a free - look mode .
def _update_camera_mode(self):
    """Sets the camera into a tracking or a free-look mode."""
    if self._tracked_body_idx >= 0:
      self._camera.set_tracking_mode(self._tracked_body_idx)
    else:
      self._camera.set_freelook_mode()
def _update_camera_mode ( self ) : if self . _tracked_body_idx >= 0 : self . _camera . set_tracking_mode ( self . _tracked_body_idx ) else : self . _camera . set_freelook_mode ( )