(self, body_id)
Latches the camera onto the specified body.

    Leaves the user only 3 degrees of freedom to rotate the camera.

    Args:
      body_id: A positive integer, ID of the body to track.
Latches the camera onto the specified body.
Latches the camera onto the specified body .
def set_tracking_mode(self, body_id):
    """Latches the camera onto the specified body.

    Leaves the user only 3 degrees of freedom to rotate the camera.

    Args:
      body_id: A positive integer, ID of the body to track.
    """
    if body_id < 0:
      return
    self._camera.trackbodyid = body_id
    self._camera.fixedcamid = _FREE_CAMERA_INDEX
    self._camera.type_ = enums.mjtCamera.mjCAMERA_TRACKING
def set_tracking_mode ( self , body_id ) : if body_id < 0 : return self . _camera . trackbodyid = body_id self . _camera . fixedcamid = _FREE_CAMERA_INDEX self . _camera . type_ = enums . mjtCamera . mjCAMERA_TRACKING