I’m using ChaseCamera. I want to move my character in the direction the camera is looking, but projected on the X-Z-plane, i.e. the ground plane. What is the best method to achieve this? To be clear: What I really want is the projected vector. The whole move thing is not important.
Also, say I found out how to get a vector out of the camera or chase camera, what do I do about the following problem? Say I get the camera to look straight down onto my character. Then the vector projected onto the ground plane would be (0, 0), but still the ChaseCamera has some idea of what “forward” is because if I move the mouse down, the camera will come back down the same way it went up.