World aligned material streching when rotating object with it.

Thank you for your answer but unfortunately thats not it. I need the material to be still, just like in normal texturing, when using UVs. T
hats why im using local position and not world position. When using world position the material sticks to the wortld and not the object, so when you move your object the material is “swimming” in it.