Use the raycast mesh sampling in the shapekey goal weights operator.