So I am doing Argon Assault and was wondering on what the difference of the thing I am doing on the x axis is different from the y axis when I am just adding the yThrow. Keep in mind that I still get the same behavior.
float xThrow = Input.GetAxis("Horizontal");
float yThrow = Input.GetAxis("Vertical");
float xOffSet = xThrow * Time.deltaTime * controlSpeed;
float newXPos = transform.localPosition.x + xOffSet;
transform.localPosition = new Vector3
(newXPos,
transform.localPosition.y + yThrow,
transform.localPosition.z);