Getting an character to animate in a game setting

Hey all, I’m hitting a wall…

I used this recommended tutorial to try and add animation to a character to use in a game with the babylon.js framework.

I managed to get the all the animations to work with the mesh but the result when I put it into Babylon was this

Since the character is “drifting,” so to speak, I decided to try and add a metarig armature to the character in the hopes of getting the character to stay in one place, but in the blender file the actions (which are performed in you select “Character” in the menu) are independent of the Armature (even though if you go into pose mode the mesh and armature are connected).

Here is the file: ybotskelanims.zip (4.8 MB)

Am I going about this the right way? Do I even need to add the extra metarig?