PDA

View Full Version : Opengl Cube Rotation



david_w
12-05-2011, 10:26 AM
I am creating skybox that I can move around. I am doing this by creating my character in the middle of my co-ordinate system. I use glrotate around this centre in order to rotate the skybox and create the illusion of turning. I was using AWDS to move my skybox to create the illusion of moving forward and sideways. This worked until I realised that when I rotated the skybox to turn left the movement of my forward direction moved me in the wrong direction. Has any one have any ideas how i could resolve this. Thank you