I am currently unable to merge animations in Unity as it is suggested in the Unity User Manual.
It says something like :
"The other way to import animations is to follow the @ animation naming scheme. You create separate model files and use this naming convention: ‘model mname’@‘animation name’.fbx "
So I have these four animations I made in Unity of a character. They are your basic walk, run, attack animations.
So I rename the .mb files to the name@walk naming convention and export them to .fbx
Once this is done, I create a folder in unity and drop the files there…hoping they will automatically merge and create a single character animation,like suggested in the user manual:
"Unity automatically imports all four files and collects all animations to the file without the @ sign in. In the example above, the goober.mb file will be set up to reference idle, jump, walk and wallJump automatically. "
Except that in my case, nothing happens. The files never automatically merge. They just stay there.
I know that procedure can be a bit misleading, yes
it really merges/prepares the animations to the game object
that has been named in the file e.g player@idle.
Try it.
First import your player character and name it for clearance as player (just skinned mesh+bones)
(check out in the inspector in Unity for the charaters animations, there should be none)
Then make an animation and name like e.g player@idle and import it to Unity
Now check again your Player in the inspector
Voilá there should be an animation loop called
“idle”
It does exactly what it says, but as I told you before, the procedure in the manual is a bit misleading.
You´ll still need scripting to make them play for your character, but that´s very straightforward and goes by the manual, or You can use the existing ones that come with the Thirdperson Platformer tutorials.