|
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?
(comments are locked)
|
|
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. 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)
|
|
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? 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)
|
|
gigiday gigiday alright I GET MONEY!!!! Thanks that's really helpful. Really.
Mar 18 '10 at 12:01 AM
Garrett Chase 3
(comments are locked)
|
