transform.Rotate (accelx * Time.deltaTime, accely * Time.deltaTime, accelz * Time.deltaTime); } If you want to rotate the object to a specific angle use: float degrees = 90; Vector3 to = new Vector3(degrees, 0, 0); transform.eulerAngles = Vector3.Lerp(transform.rotation.eulerAngles, to, Time.deltaTime); This will rotate 90 degrees around the x ...