0
\$\begingroup\$

I have hit a major stump in my development: applying transitioning animations to the same model. I have learned how to do a single animation with keyframes, but have no clue on what to do with more than one. I tried importing different animations seperately and applying them to the same model, but it didn't work. How can I get past this stumbling block?

\$\endgroup\$
1
\$\begingroup\$

If you are referring two or more animation on one object, I assume that you want to transition one animation to other. You would create states in Animator and transition states based of the parameter.

I would recommend this tutorial:

http://www.theappguruz.com/blog/creating-2d-animated-sprites-using-unity2d

Note:

This blog is for Unity2D games, but It is possible to use in Unity3D

| improve this answer | |
\$\endgroup\$
0
\$\begingroup\$

I'm not sure if you are referring to playing two animations at the same time on a single object or simply transitioning from one animation to another, I will assume you mean transitioning from one animation to another.

The way I handle multiple animations is I get a separate file(commonly fbx) for each animation. Then, you would create states in your animator component and transition to those states based off parameters.

I would suggest reading up on animators if you have not already and follow a tutorial. There are a few good tutorials that cover animators and transitions.

Here is a Unity tutorial on the Animator controller: https://unity3d.com/learn/tutorials/topics/animation/animator-controller

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ This answer is exactly what I tried and it didn't work \$\endgroup\$ – The Mattbat999 Oct 25 '17 at 21:30
  • \$\begingroup\$ In my experience if animations are not playing the animation is either not set to the same rig or does not match the rig it's applied to. 1. where were these animations made? 2. are they all made for the same rig? \$\endgroup\$ – Adam Nunez Oct 25 '17 at 21:42
  • \$\begingroup\$ I think the animations on the same rig is my problem, but I don't know how to put more than one animation on a rig. \$\endgroup\$ – The Mattbat999 Oct 25 '17 at 22:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.