Getting an animation to work in game

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

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

Invoking our Blender experts @gryff / @Vinc3r / @JCPalmer

Shows an error. I noticed the input controls are off because side control does an odd rotation. Could be a good place to check first.

What version of Blender are you using? In 2.82 animations seems broken.