public void Update() { if (rotating) { // use quartonian.Lerp with Time.deltatime here //if(angle > quartonian angle){rotating = false) } }