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?

    1 answer 1

    Try changing the rotation angle not in update () , but in LateUpdate ()

    • Thank you, though the animation has stopped playing, added a condition - divided, now when you need to use animation, and when you need - programmatically. - DeRibura