So i have been searching and testing different solution to my problem, but i can´t find any.
My player control looks like this, W = Up, S = Down, A = Left, D = Right.
But when i rotate the camera 90 degrees the controls changes to this instead, W = Left, S = Right, A = Down, D = Up.
I want to believe it has something to do with world space, but i cant figure out what. Anyone who knows how this can be fixed?