Rotating a vector

If I use the local position, as you said, it works. Thanks!