Rotating Pawn is not rotating controls direction

I am trying to follow this tutorial to rotation camera by moving mouse while holding right mouse button. However, in the tutorial they have created their own custom movement component and defined function there but I am using floating pawn movement and defined functions in camera pawn event graph. In tutorial they have used “Set actor rotation” to rotate camera on z axis but it doesnt work for me. Only thing works for me is “Add world rotation” but using that doesnt change the controller direction. For example wasd are moving top left down right repectively then after rotating the pawn using “Add world rotation” to right changes the movement direction w-left s - right d- top a - down. If anyone knows what I am doing wrong then please help.
PS: Set Control rotation doesnt work for me. I have marked use controller yaw as true