The helper function sampleMesh returns a reference to the sampled mesh. This will fail if that mesh is on a different world.