|
idont know what is wrong with the animation this time when i write the animation get no work for me Despite useing the speed all time and it works with other animation in the same script when i make the speed of the animation the animation gets no work what should i do?
(comments are locked)
|
|
Per @Bunny83 Make sure that the animation is .enabled = true and that .weight > 0. You can do this by using Play() :) yes all of thats is true and still no work
Jun 20 '12 at 08:17 PM
Nedoon
And you are not playing another animation after? Or crossfading before?
Jun 20 '12 at 08:21 PM
whydoidoit
after setting the speed i play animation!
Jun 20 '12 at 09:01 PM
Nedoon
Are you playing a different animation - playing an animation stops other animations.
Jun 20 '12 at 09:05 PM
whydoidoit
istop the other animation not what i want to play so if u still dont know the problem i can upload all of the animation script
Jun 20 '12 at 09:38 PM
Nedoon
(comments are locked)
|

Please be more accurate to describe what is happening. Does the animation play at the wrong speed, or doesn't it play at all ?
doesent play it at all
So where do you actually play the animation? Does it work with a speed of 1.0? If not how is this even related to speed?
are you calling animation.Play (); ?
Are you sure the animation even works or is correct? Open the Animation window in Unity, select the object that has the animation attached and select the desired animation in the animation window. Click the play button in the animation window. The animation should play once. Does it work there? If not the animation is faulty / wrong imported or simply doesn't work.