I used Ai Studio to make a mini game engine
Upload your game ready character and game ready environment and it automatically maps controls to your character and makes it playable in the new world you uploaded. It exports a stand alone web app with controls and animations intact
https://remix-glb-game-environment-sandbox-362548902392.us-east1.run.app