I started with a 3rd person camera yt tutorial and I made the Player controller move in both ground axis, but i changed my mind and wanted to make a firstperson game, so i made a firstperson cam using cinemachine and made it rotate with mouse input, but the Player still moves according to the world axis not the camera direction (eg: if i look to the right and pressed W, it moves to the left, and if i press D it moves forward)
I want to make the rotation of the Player the same as the Camera so that if i press W it always moves forward