(self)
Makes the camera track the currently selected object.

    The selection is managed by the selection service.
Makes the camera track the currently selected object.
Makes the camera track the currently selected object .
def track(self):
    """Makes the camera track the currently selected object.

    The selection is managed by the selection service.
    """
    if self._active and self._tracked_body_idx < 0:
      self._tracked_body_idx = self._selection_service.selected_body_id
      self._update_camera_mode()
def track ( self ) : if self . _active and self . _tracked_body_idx < 0 : self . _tracked_body_idx = self . _selection_service . selected_body_id self . _update_camera_mode ( )