//Movement
move = new Vector3(Input.GetAxis(“Horizontal”), 0, Input.GetAxis(“Vertical”));
rigidbody.AddForce(move.normalized * currentSpeed);
This is my code for my players movement. I’ve been searching for answers to this but I can’t find any that work with rigidbody.AddForce.
I just want the x and z axes of my player movement to be based on the cameras x and z, but I don’t know how to do this. Pretty new to Unity and this is confusing for me since addforce is already local…