private void FixedUpdate() { float speed = carController.GetSpeed(); transform.Rotate(Vector3.forward * -((speed - lastSpeed) * 13)); lastSpeed = speed; }
private void FixedUpdate() { float speed = carController.GetSpeed(); transform.Rotate(Vector3.forward * -((speed - lastSpeed) * 13)); lastSpeed = speed; }