- Home /
Combining two animations to be one
Well, i have 2 animations, i want to use half of first one, and second half of another one, so it plays like 50 % of one, and then another 50 % of another one, is it possible to make it one anim file... I'm using mecanim, and i can't make transition from one to another becouse that would be two diffrent animation states, and my script is connected to checking that state, and i need it to be all in one state, not seperated and use transtion in Animator to combine em. So is there any way to do this ?
EDIT: I'd really like it to look like mecanim transition from one state to another, but only thing diffrent would be that they are in one state
Well, you can access an animationclip's length, so if you start one animation, wait for half of this clip's length, and then play the second clip again using the half of the length to set it's time, you should be able to do it. Not sure how to do that in $$anonymous$$eccanim, but it's possible via scripting.
Yeah but doing that would create 2 diffrent states in mecanim, like climb1 state and climb2 state, but i need it all in one state = I need to combine two fbx's to be in one, or whatever they are called, .anim .motion idk
Your answer
Follow this Question
Related Questions
Need to know when a transition starts in mecanim. 1 Answer
Make mecanim transition after a delay in Unity3D 0 Answers
AnimatorTransitionInfo.IsName() Not Working 1 Answer
Not able to use a Vector as a condition in Mecanim? 2 Answers
How to stop mesh disappearing during Animator state transition blend time? 1 Answer