x


My model's legs get screwed up when I go from my "run" to my "idle" animation.

When the character in my game goes from his "run" animation to his "block" or "idle" animation, his legs just jump into a random spot. The legs don't move in the original animation, but they get frozen in random positions while the model is in his "idle" or "block" animation. When he goes back to running, the "run" animation plays fine. Also, the "idle" animation plays fine when the game starts. What I think is happening is that the legs stop animating in the "run", and because they don't move in the original "idle" animation, they just stay in the "run" position. Is there any way to specify that I want the legs to do what they do in the original animation instead of just stopping mid-run?

more ▼

asked Feb 08 '10 at 11:47 PM

Garrett Chase 3 gravatar image

Garrett Chase 3
47 7 7 7

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

3 answers: sort voted first

Sounds like somehow the bone positions of the walk/idle legs haven't been recorded in the animation. Make sure you select the root bone when starting to record the animation in your 3D/animation application.

more ▼

answered Feb 08 '10 at 11:53 PM

Jaap Kreijkamp gravatar image

Jaap Kreijkamp
6.4k 20 26 70

Is it possible that using animation layers could solve this problem?

Feb 16 '10 at 02:42 AM Garrett Chase 3

no, not really. You generally use layers to add an animation to another, and indeed this animation could be one that only animates a few bones. For example, the base animation is walking, the added animation is throwing (only animating upper body parts): result would be char that's walking and throwing at the same time.

Feb 16 '10 at 05:44 AM Jaap Kreijkamp

@Jaap, it's not clear to me what you're recommending. Are you saying that, if you play two sequential animations, the second animation must key all of the bones in the first one, even if they're not used? Because otherwise how else would it change the bones set in the first animation?

Mar 23 '10 at 02:26 AM Cyclops
(comments are locked)
10|3000 characters needed characters left

We went back in and made sure that the legs were keyed in the animation, but the problem didn't go away. Is there anything that I can do in Unity to specify that it should always play the animation for the entire model?

more ▼

answered Feb 10 '10 at 04:03 AM

Garrett Chase 3 gravatar image

Garrett Chase 3
47 7 7 7

Maybe someone could take a look at your model? I've only got Cheetah3D as animation package so probably not able to really check it out but maybe someone else is, what is the 3D app you used to make the model/animation?

Feb 16 '10 at 05:45 AM Jaap Kreijkamp

I am using Autodesk 3DStudio Max 8.

Mar 03 '10 at 03:12 AM Garrett Chase 3
(comments are locked)
10|3000 characters needed characters left

gigiday gigiday alright I GET MONEY!!!!

more ▼

answered Mar 05 '10 at 09:34 PM

PDUB gravatar image

PDUB
1

Thanks that's really helpful. Really.

Mar 18 '10 at 12:01 AM Garrett Chase 3
(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:

x3785
x572

asked: Feb 08 '10 at 11:47 PM

Seen: 1377 times

Last Updated: Feb 08 '10 at 11:47 PM