code: public long addBoxObstacle(float[] center, float[] extents, float yRadians) {
  		TileCacheObstacle ob = allocObstacle();
  		ob.type = TileCacheObstacleType.ORIENTED_BOX;
  		vCopy(ob.center, center);
  		vCopy(ob.extents, extents);
  		float coshalf = (float) Math.cos(0.5f * yRadians);
  		float sinhalf = (float) Math.sin(-0.5f * yRadians);
  		ob.rotAux[0] = coshalf * sinhalf;
  		ob.rotAux[1] = coshalf * coshalf - 0.5f;
  		return addObstacleRequest(ob).ref;
  	}
docs: Box obstacle: can be rotated in Y