public WheelCollider WCFR;
public WheelCollider WCFL;
public float motorToque = 6000;
public float steerAngle = 5000;
void Update () {
WCFL.motorTorque = Input.GetAxis("Vertical") * motorToque;
WCFR.motorTorque = Input.GetAxis("Vertical") * motorToque;
//Debug.Log(Input.GetAxis("Vertical"));
WCFL.steerAngle = Input.GetAxis("Horizontal") * steerAngle;
WCFR.steerAngle = Input.GetAxis("Horizontal") * steerAngle;
//Debug.Log(Input.GetAxis("Horizontal"));
}
前后移动都还算正常,就是无法转向。。。。。。。