Hello,
I made a movement script that uses a Character Controller. However, the Y rotation on the GameObject is not making the Character Controller move in the direction the transform is pointing. Here is the script I am using:
Vector3 moveVector = Vector3.zero;
moveVector.x = Input.GetAxisRaw("Horizontal") * speed * Time.deltaTime;
moveVector.y = upVelocity;
moveVector.z = Input.GetAxisRaw("Vertical") * speed * Time.deltaTime;
c.Move(moveVector);
transform.Rotate(0,Input.GetAxisRaw("Mouse X") * sensitivity,0);
cam.transform.Rotate(new Vector3(-Input.GetAxisRaw("Mouse Y") * sensitivity, 0, 0));