How would one implement an FPS camera?

前端 未结 4 852
长发绾君心
长发绾君心 2021-02-13 20:55

So I\'m currently working on some FPS game programming in OpenGL (JOGL, more specifically) just for fun and I wanted to know what would be the recommended way to create an FPS-l

4条回答
  •  -上瘾入骨i
    2021-02-13 21:30

    Yeah, but in the end you will want to add various other attributes to the camera. To spell it n00b: keep it tidy if you want to mimic Quake or CS. In the end might have bobing, FoV, motion filtering, network lag suspension and more.

    Cameras are actually one of the more difficult parts to make in a good game. That's why developers usually are content with a seriously dull, fixed 1st/3rd person ditto.

提交回复
热议问题