Faced such a problem - I set the angle of rotation of the object on the mouse, through update in the script. Moreover, if the rotation of this object participates in the animation, then you cannot change the angle through the code. Who faced this - are there any solutions / analogues, how to avoid it?