- Home /
animations dont play properly, prefab projectile does not move anymore, why?
Hello. I am a new to this whole thing, something I want to point out before I get started.
I was working on my game and I wanted to look at a demo game as a reference. But when I get back and look at the game I was working on, my players animations won't play! No walking, or running animation at all! If I press a button, the player will get instantly frozen in the shooting animation, and the bullet prefab will no longer move!
Its not like I edited any of the scripts, and I've tested deleting and re adding the player and scripts and it doesn't work! Can someone please help me?
Answer by KMKxJOEY1 · Mar 28, 2013 at 07:40 PM
are you just copying the files over or are you exporting as a unitypackage file and reimporting into your new project?
What I did was I closed my Unity game, looked for the demo, and opened up the demo through Unity. No copying or exporting, though since the scripts are in a file excessable to both games, I did try testing the basic health and enemy scripts on my game
Lol then obviously you would be missin things A game isn't just scripts, you are probably missing anims and such
No, the animations are there but they don't play when I load up the game. There are no errors in the Console either. And when I press my attack button, my character doesn't actually execute the animation, but merely gets frozen at the last frame of the attack animation. And the bullet created don't go anywhere despite the speed having been set. All this was working before I tried loading up the demo, the animations the bullets, all working before the demo!
Try exporting the entire thing as a unity package and then importing into your new project
Your answer