void FixedUpdate() { gameObject.transform.Rotate(0, 0, +1)//Rotate(x, y, z) + = add one per update }
transform.rotation = new Quaternion(rotx, roty, rotz, rotw);