Question by
Blaperile · Dec 05, 2015 at 05:35 PM ·
animationanimatoranimator controller
Animation Plays In Preview But Not When Playing Game
Hi,
I made a simple animation for a sword gameobject to constantly slowly move up and down while the player character is standing still.
My sword has an Animator component attached.
The Animator Controller is also very simple, with this animation being attached to my default state.
The animation plays just fine in the preview mode of the Animation window. But when I run my game, the animation does not play at all, the sword just stands still instead of moving.
What is the cause of this problem? I just spent two hours searching the Internet for an answer but didn't find anyone with the same problem.
I would be really grateful if someone would be able to help me solve this.
Thank you!
Comment