Use one rigged character in Godot and Unity

Send your agent a rigged, animated FBX or GLB. One compile returns a GLB for Godot and an FBX for Unity, both with the skeleton, skin weights, animation clips and texture, plus a report of each file.

Soldier FBX, now a GLB in Godot

  • 52skinned bones kept in the GLB and the FBX
  • 0vertices left without a bone weight
  • 17,264triangles in the Draft output, from 32,220
  • $5Free signup credit for 50 mesh Drafts

Rendered in Godot from the GLB that the hosted API wrote from the soldier FBX, played forward and back so it loops. The FBX written back from that GLB imports into Blender with the same 52 bones and clip. Compiled on 3 December 2026.

Godot and Unity exports

Godot imports GLB and most Unity projects expect FBX. Converting by hand means a trip through a 3D editor, with scale, axes, bone names and clip names to check on every export.

Each new version of the character means the same trip again, once for each engine.

What the terms mean

  • Skeleton

    The bones inside a character that move its mesh.

    Without it, the character can't play a single animation.

  • Skin weights

    How strongly each bone pulls each vertex.

    Wrong weights tear elbows and knees when the character moves.

  • Animation clip

    A named stretch of bone motion, such as a walk or an aim.

    Engines play clips by name, so the names have to survive the export.

How it works

  1. Send the character

    Your agent uploads the rigged FBX or GLB over MCP, or your code calls the REST API.

  2. Ask for both engines

    The spec sets the export targets to godot and unity. Your first 50 mesh Drafts are free with the $5 signup credit.

  3. Import each file

    Put the GLB in your Godot project and the FBX and its texture in your Unity Assets folder.

Read the FBX to GLB guide

Questions

Does the rig survive both directions?

Yes. The soldier FBX compiled to a GLB. That GLB then compiled back to an FBX. Both files kept 52 skinned bones, the 1.8 s aim clip and the base colour texture.

Which file goes to which engine?

The godot target writes a GLB. The unity target writes an FBX with its texture beside it. List both targets and one compile writes both files.

Can it check the animation as well?

Yes. Add animation_qa.enabled = true and meshfx measures each clip for foot slide, feet below the ground and stretched bones in the same compile.

All use cases

Use with your agent

Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a GLB for Godot, an FBX for Unity with its texture, and a report of both files.

New accounts start with $5 of usage, and you see the price of each job before it runs.

Agent prompt

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to compile my rigged character FBX for both Godot and Unity, keeping the skeleton, skin weights, animation clips and texture, and save the GLB and the FBX in my project. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.

Or add the server yourself in Claude Code:

claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp

Set it up in Cursor, Codex or another agent

Once connected, your agent can call the starter tool. It returns a ready fire Draft spec and the exact call that runs it. Your first 100 fire Drafts are free with the $5 signup credit.