procedural texture moves when pysics are applyed to mesh

the texture i used on a mesh chooses a random texture on a grid when playing and physics are applied it changes when moved is there anyway to clamp the texture on in game?