I need all animations 'cause i load the mesh with skeleton from one file
Well , the first thing I would do is look critically at those animations. Do you really need a “sleep” animation that is 200+ frames long, a “pickup” animation that is 180+ frames, or an “idle” animation that is 300+ frames ? And then there are animations that are just 1 or 2 frames often the same … and how many “die” animations do you need?
So think about that first.
i load the mesh with skeleton from one file, and the skeleton with animations from another file
Step 1: I assume that means you have a mesh and rig file with no animations Make sure that you apply the scale and rotation to the rig (do that first) and then the mesh. Save that file - call it basic
Step 2: Now take a file with the animations, and export each animation that you really want to a .bvh file When you export just set the start and end parameters. Tedious job - which is why I suggest looking at the animations that are really necessary.
Step 3: Download and install this retarget addon in Blender
Open your basic mesh and rig file that you saved above, hit N in the main screen and the addon will appear on the right under the BVH tab.
Step 4: Select the Armature and use the addon to load and re-target those saved BVH files to the basic file - then save that file with a different name.
Step5: Now export your files to .babylon to test. One with just the mesh and rig, one with just the skeleton and animations. You are on your own from there.