0

I already know how to use the glTranslatef() command to move the camera/player, but I want to know how to rotate the camera, either with mouse movement or pressing a key. I am also using PyGame. I know that Stack Overflow likes questions to be elaborate, but this is all I can say for now. (Note: I am new to PyOpenGl, so expect more questions from me soon)

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
Swix
  • 25
  • 8
  • This question is to broad. What have you tried so far? Try to implement the rotation. If you are stuck, ask a question about the code you are stuck with. Meanwhile see [How to implement camera pan like in 3dsMax?](https://stackoverflow.com/questions/53758319/how-to-implement-camera-pan-like-in-3dsmax) – Rabbid76 May 28 '20 at 17:17
  • I want to rotate the camera from a first person perspective, similar to the first 2 doom games. The only commands I have been able to find to rotate/turn the camera either did not state what language they were for or were for another language such as c, etc. – Swix May 28 '20 at 17:26

0 Answers0