x


animation blending with only 1 animation

i made a character with a running animation, and i want to make it blend but i don't have an idle animation and the program im using goes all screwy and only allows me to have 1 animation with the model and then all other animations have to be save in some weird format that unity can't import. so does anyone know how i can make it smoothly return to the first frame of the animation? or if that's not possible how to just skip back to the first frame? because last time i tried to code animation it would stop partway through and then restart the animation when i started running again.

more ▼

asked Aug 10 '12 at 06:11 AM

sam32x gravatar image

sam32x
178 38 55 62

also it says i need to make the animation name in the script the same as the one in the file, the one in the file is called take 001 and i can't rename it and i cant put that as a variable in a script because you can't have spaces, does anyone know how to rename it? someone told me a while ago that you can't change animations that come with an imported file so does anyone know how to copy it so that i can rename it?

Aug 10 '12 at 07:46 AM sam32x
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

After you import your model, in your import setting, go to Animations and add an animation to rename the animation clip. You can also set the animation to loop; that might solve your problem.

more ▼

answered Sep 25 '12 at 05:16 PM

Salim gravatar image

Salim
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

you can duplicate the animation by selecting it in the project explorer and hitting Ctrl+D this new animation can be renamed to something else, and should also become mutable (meaning you can change it, add animation events etc in the animation window).

Also I don't see why spaces would cause you problems when trying to trigger the animation, since all animations can be referred to by a string name, and strings allow spaces obviously. But perhaps there's another limiting part of the animation object that I've just not noticed before that stops that.

more ▼

answered Oct 11 '12 at 10:43 AM

FatWednesday gravatar image

FatWednesday
462 2 5 12

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3791
x94
x57
x47

asked: Aug 10 '12 at 06:11 AM

Seen: 269 times

Last Updated: Oct 11 '12 at 10:43 AM