D
D
Dmitry Gavrilenko2015-06-29 11:11:46
C++ / C#
Dmitry Gavrilenko, 2015-06-29 11:11:46

Unity3d 5 - how to combine animations in 2D?

Hello. I am learning Unity. Started with 2D scenes. I drew sprites and made animations from them. With the help of triggers in Mecanim, he switched to the right ones. But those were separate animations.
I have sprites of a man standing in waiting. There are sprites of the same man, but moving his arms. I want to combine them at some point. If I, for example, pressed the button, then he should move his legs (waiting) and beat with his hands.
Question: how to combine them? Maybe the sprites should be broken apart (legs, arms, torso, head, eyes - all in separate files)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Espleth, 2015-06-29
@Maddox

In 3D, this is done like this docs.unity3d.com/ru/current/Manual/AnimationLayers.html
Animations do not break there, just part of one animation goes, for example, below the belt, and part of the other is above the belt.
But in 2D, I didn’t try it that way, but a quick google turned up an interesting topic https://www.reddit.com/r/Unity2D/comments/2zrrr3/m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question