Hello,
For an application I am trying to make a first person camera that rotates around it’s own axis to look around, so the camera stands still. To rotate the camera/view around the user would move the mouse somewhere on the screen, click and then drag to move the camera. Exactly the same way that Google Street View handles it.
link to street view example: Google Maps
I am new to coding more advanced languages involing vectors, quaternions and what not, and I understand that some of what needs to happen is to calculate distances and differences between the mouse starting position and moving position in relation to the camera, but I am having a difficulty wrapping my head around it all?
I have looked and looked for others trying to do the same very few came up, and none yielded any results.
Any help and or suggestions on where to find some information, would be much apprecieated.