How to move the camera sideways in libgdx
- by Bubblewrap
I want to move the camera sideways (strafe/truck), now i had the following in mind, but it doesn't look like there are standard methods to achieve this in libgdx.
If i want to move the camera sideways by x, i think i need to do the following:
Create a Matrix4 mat
Determine the orthogonal vector v between camera.direction and camera.up
translate…