- Home /
basic animation in unity
Hello,
I am new to unity and animation, and i have a really confusing question to ask. If i have a model (player.fbx) with the its animation (player@run.fbx and player@walk.fbx) and another model (player_2.fbx different than the first) with no animation...
To animate the first model i use: animation.Play("run");
in the start function. And there is no animation attached to the second player that means i cannot play any animation.
The question is: Can I just play the animation of the first player on the second player? (that means i want the second player to play the animation of the first player.) What is the method to attach an animation to another model in unity?
Can anyone help me with this please?
Thanks in advance
Answer by Gianluca88 · Aug 13, 2014 at 04:34 PM
I am new to unity too, I think that you can search the non-animated character in you inspector, click "add component" and add the same animation of the animated character.
Answer by LSPressWorks · Aug 13, 2014 at 03:34 PM
Like cobble animations and such. I've been wondering about that myself. I understand that blender uses a script seq to animate. I will try copy and paste under the imported objects and let you know.
Also this http://blender.stackexchange.com/questions/10523/many-models-sharing-the-same-animation-sequence