I’m currently working on a custom player controller that uses bodyVelocity to move the character. I’ve managed to figure out how to make the character and camera rotate appropriately with the mouse, and how to translate keyboard inputs to a normalized 8 direction vector. My main issue here is “rotating” that input vector so that the movements are relative to the orientation of the Camera.
I did try this exact thing, and yes it for the most part does what I want it to. Only problem is that it also moves along the Y axis. Is there a way to get the same behaviour minus any influence on the Y position?