I have a helicopter movement problem; the helicopter moves forward/backward/left/right…etc fine and even rotates left/right, but when it rotates, it moves around an invisible axis away from the helicopter, as if it has a turning circle like a car, rather than rotating on the spot or pivoting around the rotor.
vision = gamepad.rightStick.ReadValue();
transform.rotation = Quaternion.Euler(transform.eulerAngles += new Vector3(0f, vision.x * 100f * Time.deltaTime, 0f));
The above is my turning code. Please excuse the x/y/z axis being wrong in the first place, that’s another problem for another day.