Rotate the vector by 90 degree does not seem work

I am trying to rotate the vector by 90 degree, but it does not seems work. not sure which part goes wrong
Q_Why rotate vector does not work.gh (4.3 KB)

@Liu_Xiang, Currently you are assigning the same vector as input and axis of rotation. It wont give you the correct result. You need to assign Unit Z Vector Component to the X input of VRot Component.

Thanks so much !