the probem persist because when i rotate the pan camera the axis also rotates with the camera and i want the x axis is always looking forward the screen.if i press key w the playes walks forward but if i rotate the camera 90º then it walks to the right when i press w and so on.so how can i keep the x and y axis at its original position independient of camera angle?