- Home /
Animation problems
Hello,
I keep getting this problem with my animations.
The animation state Idle could not be played because it couldn't be found!
Please attach an animation clip with the name 'Idle' or call this function only for existing animations. UnityEngine.Animation:CrossFade(String) ThirdPersonController:Update() (at Assets/Habbo3D/Scripts/Game/Player/ThirdPersonController.cs:344)
So basicly my animations are in a different file, and i try to use it on a character prefab and it gives me that error, i try to move the animations to that characters directory and it doesn't let me (nothing happens)
Heres a picture:
Thanks
no you got me wrong. add animation component on prefab and these animations add on animation component
Answer by whydoidoit · Jun 03, 2012 at 08:50 AM
In order to use the animations in other files you need to name those files using a particular convention. Call you animations nameofyourmodel@nameofyouranimation. E.g. Character@Idle
Thanks for the answer!, but it doesn't let me rename them.. http://i46.tinypic.com/21129s9.png
You should just be able to rename the files directly or rename the in the Editor. What happens?
Also the animations shouldn't need to be a part of the prefab, the should go next to the model that you are animating.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Light bulb moving HELP 1 Answer
Animated Object moving when clicked 1 Answer
How to export MMD model to Unity? 0 Answers
How to rig model enough to animate in unity? Just need skeleton? 4 Answers