private Vector3 Move(Vector3 forwardForce) { float inputVertical = Input.GetAxis("Vertical"); float inputHorizontal = Input.GetAxis("Horizontal"); Vector3 mousePosition = Input.mousePosition; // Add base force forwardForce += transform.forward * idleSpeed; forwardForce = AddForwardForce(forwardForce, inputVertical); _boosters.RecalculateBoost(); forwardForce += transform.forward * _boosters.BoostSpeed; Rotate(inputHorizontal); _rb.AddForce(forwardForce); _rb.AddForce(transform.right * strafeSpeed * inputHorizontal); return(forwardForce); }