Player Movement
I started by creating the player movement in first-person. The goal was to make the player able to move around smoothly in a 3D space.
However, I encountered an issue where the movement stopped working correctly with the camera rotation. The player’s movement direction wasn’t aligning with the camera’s orientation, causing confusion in controls.
To solve this, I adjusted the movement logic to account for the camera’s rotation. This ensured that the player’s movement would always follow the direction the camera was facing, providing a more intuitive control scheme.