Press up/down/left/right to move, a/d to rotate
Yellow represents the field-of-view
The green dot represents the player, looking in the direction of the red line, with the area in yellow visible. In a 3D space, the up/down/left/right keys are used to move forward, back, and to the player's left or right. The problem is, once there is rotation, the movement does not match what the player expects. The up arrow should move the player in the direction of the red line, and the down arrow should move in the opposite direction. Left and right arrows should slide the player along a 90 degree axis from the red line.