Does anyone know how to set the world position offset so that space matches the object's original position and orientation?

There are 2 flags in my GIF, they have the same material. It's just a V4 parameter plugged into the world position offset. The one on the left is in space, the one on the right is in a blueprint and is a child of the blue pole.
Ideally, when I turn the pole, the flag spins like a child of the pole, instead spinning where it is. However, I'm not sure how to set up the shader so that the parameter controls act like a local space transform for the flag
Any help would be great! Thank you so much!


Please enter your comment!
Please enter your name here