Implementation for a flycam. Controls are hard-coded for now.
There are two modes: "Axis-Aligned" which works like Minecraft's camera, and "Axis-Independent" which moves according to the direction you look. For example, looking down and pressing the "forwards" key would move down in the Independent mode, and it would move horizontally in the Aligned mode.
Implementation for a flycam. Controls are hard-coded for now.
There are two modes: "Axis-Aligned" which works like Minecraft's camera, and "Axis-Independent" which moves according to the direction you look. For example, looking down and pressing the "forwards" key would move down in the Independent mode, and it would move horizontally in the Aligned mode.