- Home /
Animator with mask problem
I have a shooting character animation that lies on a top animator layer (out of two layers) and has a mask (so she can shoot while idle, running, etc.). I play the animation by setting animator.SetBool("isShooting", true);
. The shooting animation plays a single time, which is what I want. However, the character's positioning remains stuck in the shooting position afterwards, without moving. Note that isLooping is unchecked for the shooting animation.
Here's an image of the problem. The first picture is what the character should return to and the second is her state after shooting. How can I fix this?
wai.png
(106.9 kB)
Comment