Suggestions for creating a First Person Camera

Dec 25, 2011 at 7:21 PM
Edited Dec 25, 2011 at 7:23 PM

I want to make a first person shooter style camera. Looking for suggestions on how to proceed towards the same using igf

Coordinator
Dec 28, 2011 at 2:54 PM

Hi raidenloft,

I'd go the following route:

Go in the Source Code tab and look how I wrote the FreeCamera3D class. It should be a good start to learn how to create a camera.

Now for your FirstPersonCamera, I guess the best would be to create a camera that will follow your player characters entity or SceneObject. Maybe the best would be to look at the ChaseCamera3D and tweak the Offset values to get as close as possible to the camera height compared to the player character's point of view?...