Muffelbabo
Muffelbabo

Reputation: 1

Unity: animation resets scale

my problem is I have an animator with two animations. The first animation ([1]: https://i.sstatic.net/wZnDr.png) doesn't change the scale but the second ([2]: https://i.sstatic.net/BpDIJ.png) does. If the first animation plays and I change the scale via code or inspector it is instantly reset to 1. This however doesn't happen if I delete the second animation out of the animator.

It seems like the animator knows there is an animation that changes the scale and therefore forbids this for everything else even though that animation isn't currently playing. Is there any way to stop that from happening.

Thanks for feedback

Upvotes: 0

Views: 1104

Answers (1)

brooklynsch
brooklynsch

Reputation: 1

Make sure in the animation inspector you have "write defaults" UNCHECKED for that specific animation

https://i.sstatic.net/yGvR6.png

Upvotes: 0

Related Questions