LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: cellis on January 22, 2018, 03:03:09

Title: FPS controller and camera tutorial?
Post by: cellis on January 22, 2018, 03:03:09
Does anyone know if there are any examples or tutorial covering FPS controller and camera in LWJGL?

https://www.youtube.com/watch?v=SUKddKIgCUQ&list=PL7AE076AFAFD3C305&index=6
Title: Re: FPS controller and camera tutorial?
Post by: KaiHH on January 22, 2018, 06:15:08
Here's one working example using LWJGL3 and JOML (https://github.com/JOML-CI/JOML): https://github.com/JOML-CI/joml-lwjgl3-demos/blob/master/src/org/joml/lwjgl/FirstPersonCameraDemo.java#L158-L190
You can walk around with WSAD and look around with the mouse.