Home / Guides / Import an AI 3D model into Godot

How to import an AI 3D model into Godot

Short answer: export a .glb (glTF 2.0, the format Godot's docs recommend), copy it into your project folder and wait for Godot to import it as a scene. Then check the scale (1 Godot unit is 1 meter), look at the material, and add a trimesh collision shape if the prop should stay put. Everything here is free. We tested this in Godot 4.7.2 on November 8, 2026 with the same CC0 treasure chest we generated on November 7 from TRELLIS.2 and Hunyuan3D 2.1.

What you need

Step 1: get a GLB

Download the model as GLB from your generator. Meshy, Tripo, Rodin, TRELLIS.2 and Hunyuan3D 2.1 all offer GLB on the free plans we already checked. We did not import a Meshy, Tripo or Rodin file today. The three files we did import were generated on November 7, 2026 from the CC0 Treasure Chest render on Poly Haven:

Those generation facts, licenses and demo limits are in Hunyuan3D vs TRELLIS.2 for free 3D game assets. The import numbers below were re-measured in Godot 4.7.2 on November 8, 2026.

Step 2: copy the file into your Godot project

Make a folder such as models in your Godot project and copy the .glb there. Godot's Available 3D formats page says to copy the scene file (and any separate textures or mesh data) into the project, then Godot does a full import when the editor window gets focus. In our headless test we ran godot --headless --import on a throwaway Godot 4.7.2 project, so we did not click the editor window ourselves. All three files imported with no errors:

Step 3: inspect the mesh and materials

Double click the imported file in the FileSystem dock to open it as a scene, or drag it into a 3D scene. We did not click those editor controls (the test was headless). We did instantiate each imported scene from a script and read the mesh, materials and bounding box:

File, imported November 8, 2026TrianglesVerticesSize in Godot unitsMaterial
TRELLIS.2 textured chest297,020219,8800.98 by 0.65 by 0.55StandardMaterial3D with 2048 by 2048 albedo, metallic and roughness textures
Hunyuan3D 2.1 untextured422,248211,1001.99 by 1.31 by 1.19Default StandardMaterial3D, no textures
Hunyuan3D Simplify Mesh 10,00010,0004,9781.99 by 1.31 by 1.19Default StandardMaterial3D, no textures

The TRELLIS.2 file stores its PBR maps as WebP inside the GLB. Godot 4.7.2 read them: after import the albedo, metallic and roughness slots were each a CompressedTexture2D at 2048 by 2048. There was no normal, ambient occlusion or emission map. That matches what we saw when we opened the same file on November 7. The two Hunyuan3D files have no images in the GLB, so Godot gave them a plain white StandardMaterial3D (metallic 0, roughness 1). If your download came out untextured, finish it with How to texture a 3D model for free with AI.

Step 4: fix the scale

Godot's Introduction to 3D page (4.7 docs, checked November 8, 2026) says Godot uses the metric system for everything in 3D, with 1 unit equal to 1 meter, and that physics is tuned for that scale. The default editor grid is 1 by 1 meter. AI models often arrive at whatever size the generator picked.

Our TRELLIS.2 chest was about 1 meter wide, which is a believable treasure chest. The Hunyuan3D chest was about 2 meters wide, twice as large, even after Simplify Mesh. To resize a prop, select the imported root Node3D (or the MeshInstance3D) and change Scale in the inspector. We measured the bounding boxes from a script and did not drag the editor scale gizmo, so treat the inspector steps as the usual Godot workflow rather than a click we filmed.

If you have many models to normalize, it is cleaner to set the scale and origin in Blender first, then re-export a GLB. The cleanup script in How to turn an image into a 3D game model for free does that.

Step 5: add collision for a static prop

A mesh on its own has no physics shape, so your player will walk through it. For a crate, chest or wall that should stay put, Godot's docs point to a StaticBody3D with a triangle mesh (trimesh) shape.

What we did run, in Godot 4.7.2 headless, was the two helper methods:

# After the GLB is imported, instance it and find the MeshInstance3D.
var prop: Node3D = load("res://models/trellis_chest.glb").instantiate()
var mesh := prop.find_child("geometry_0", true, false) as MeshInstance3D
# Precise collision that matches every triangle. For a static prop only.
mesh.create_trimesh_collision()
# Simpler hull. We tested this on the 10,000 triangle Hunyuan3D export.
# mesh.create_convex_collision()

On every mesh, create_trimesh_collision() added a child named after the mesh plus _col (for example geometry_0_col):

trellis_chest (Node3D)
  world (Node3D)
    geometry_0 (MeshInstance3D)
      geometry_0_col (StaticBody3D)   // added by create_trimesh_collision()
        CollisionShape3D (ConcavePolygonShape3D)

On the simplified Hunyuan3D mesh we then called create_convex_collision(). Godot added a second child, tmppdggj1mx_ply_col2, a StaticBody3D whose CollisionShape3D was a ConvexPolygonShape3D with 301 points. That hull is much cheaper than 10,000 triangles, but it cannot represent dents or a hollow inside. Use trimesh when the player should rest on the real surface of a static prop; use convex (or a box, capsule or sphere you place yourself) when you want a simpler, faster shape. We did not call create_convex_collision() on the 297,020 or 422,248 triangle meshes.

Step 6: watch the triangle count

Both raw AI exports are heavy for a single prop. TRELLIS.2's November 7 demo would not decimate below 100,000 faces, and our file stayed at 297,020 triangles after import. Hunyuan3D's raw mesh was 422,248 faces. The Hunyuan3D export tab's Simplify Mesh option cut that to exactly 10,000, and that lighter file is the one we would drop into a real scene. For a TRELLIS.2 model, plan a pass in Blender with the Decimate modifier. The script in How to turn an image into a 3D game model for free does merge, normals, origin and decimate, then exports a new GLB. For a textured model, skip the merge: our tested numbers and the step that scrambles textures are in How to reduce polygons of an AI 3D model for free.

A 297,020 triangle collision shape also means Godot stored 891,060 face vertices on the ConcavePolygonShape3D. That is fine for one hero prop on a PC, and a bad idea for a room full of copied chests.

What our test showed

We created a throwaway Godot 4.7.2 project (4.7.2-stable (official), hash ed1daf0bf), copied in the three November 7 GLBs, ran a headless import, then instantiated each scene from a script:

Troubleshooting

What we did not test

Free tools in this guide

Godot

Free, open source 2D and 3D game engine with its own easy scripting language, GDScript.

Pricing: Free. Beginner rating: 4/5. Small download, no fees or royalties, and a huge beginner community.

Free, open source engine. Its 4.7 docs recommend glTF 2.0 (GLB) and imported all three of our test files.

TRELLIS.2

Microsoft's open source image to 3D model (MIT license). Turns one picture into a textured 3D asset with PBR materials and exports GLB. Free online demo on Hugging Face.

Pricing: Free. Beginner rating: 4/5. Free and fine for commercial use, but running it yourself needs Python and a 24 GB NVIDIA GPU. Try the free online demo first.

The textured chest we imported: 297,020 triangles and 2048 WebP PBR maps, MIT licensed.

Hunyuan3D 2.1

Tencent's open-weight image to 3D model with PBR texture generation. Free online demo on Hugging Face, exports GLB or OBJ. Its license does not apply in the EU, UK or South Korea.

Pricing: Free. Beginner rating: 4/5. Free demo and free weights, but running it yourself needs Python and 10 to 29 GB of GPU memory, and the license excludes some countries.

The untextured chest we imported, plus the 10,000 face simplified export. Check the license territory first.

Blender

Free, open source 3D app for modeling, UV unwrapping, texturing, baking, rigging and animation. It imports and exports glTF/GLB, FBX and OBJ, so it is the free workbench for fixing and texturing AI-generated models before they go into Godot, Unity or Unreal.

Pricing: Free. Beginner rating: 4/5. Free with no account, and it does almost everything, but the interface is big and a beginner needs a tutorial for UVs, materials and baking.

Free app for decimating a heavy AI mesh, fixing scale and exporting a cleaner GLB.

Related

Making a browser game instead? Read How to import an AI 3D model into three.js. Need a file first? Read Which free AI 3D model generators let you download? and Best free AI 3D model generators for game assets, or see how we made these chests in Hunyuan3D vs TRELLIS.2 for free 3D game assets. Clean up and decimate in How to turn an image into a 3D game model for free, then How to texture a 3D model for free with AI if the download has no color. Characters need a skeleton next: How to rig an AI-generated 3D model for free, How to animate a 3D character for free and How to use Mixamo animations in Godot 4. Browse every 3D model and texture tool.

FAQ

Can Godot 4 open an AI-generated GLB?

Yes. Godot's Available 3D formats page (Godot 4.7 docs, checked November 8, 2026) calls glTF 2.0 the recommended format and supports both .gltf and .glb files. On November 8, 2026 we imported three GLBs from the same CC0 chest we generated on November 7: a TRELLIS.2 textured file, a Hunyuan3D 2.1 untextured file, and Hunyuan3D's 10,000 face simplified export. All three loaded as PackedScene resources in Godot 4.7.2.

What format should I export from an AI 3D tool?

GLB, which is the binary form of glTF 2.0. Godot's docs recommend glTF 2.0 over DAE, OBJ and FBX when you can choose. Meshy, Tripo, Rodin, TRELLIS.2 and Hunyuan3D all offer a GLB download on the plans we already checked. We imported TRELLIS.2 and Hunyuan3D GLBs today. We did not import a Meshy, Tripo or Rodin file for this guide.

Why is my imported model the wrong size?

Godot's Introduction to 3D page (4.7 docs) says Godot uses the metric system in 3D, with 1 unit equal to 1 meter. AI generators often export at whatever size their pipeline chose. In our test the TRELLIS.2 chest measured 0.98 by 0.65 by 0.55 units and the Hunyuan3D chest measured 1.99 by 1.31 by 1.19 units. Select the imported root (or the MeshInstance3D) and change its Scale in the inspector until it looks right next to a 1 meter reference, such as Godot's default grid.

How do I add collision to a static prop?

For a prop that should not move, use a triangle mesh (trimesh) collision shape on a StaticBody3D. In our headless test we called MeshInstance3D.create_trimesh_collision() on each imported mesh. Godot created a StaticBody3D child with a CollisionShape3D whose shape was a ConcavePolygonShape3D, with the same face count as the mesh (297,020, 422,248 and 10,000). Godot's docs say trimesh is the precise option for static level geometry and can only be used with a Static body. For a simpler shape we also called create_convex_collision() on the 10,000 triangle mesh, which created a second StaticBody3D with a ConvexPolygonShape3D of 301 points.

Why does my AI model slow the game down?

Free AI demos often export far more triangles than a prop needs. On November 7, 2026, TRELLIS.2 exported our chest at 297,020 triangles and would not decimate below 100,000. Hunyuan3D 2.1 exported 422,248 faces, then Simplify Mesh cut that to exactly 10,000. We re-counted those same files in Godot 4.7.2 on November 8. Simplify a TRELLIS.2 mesh in Blender before you ship a scene full of them. See How to turn an image into a 3D game model for free for a tested decimate script.

Did the TRELLIS.2 textures import, and did you test Unity or Unreal?

The TRELLIS.2 GLB uses the EXT_texture_webp glTF extension. On November 8, 2026 Godot 4.7.2 imported it as a StandardMaterial3D with 2048 by 2048 albedo, metallic and roughness textures (CompressedTexture2D). The two Hunyuan3D files had no textures in the GLB; Godot assigned a default untextured StandardMaterial3D. We did not test Unity or Unreal. For those engines the unverified safe route is to export FBX from Blender.

Sources, checked November 8, 2026: Godot 4.7 docs for available 3D formats, importing 3D scenes, introduction to 3D (1 unit equals 1 meter), MeshInstance3D (create_trimesh_collision() and create_convex_collision()), Advanced Import Settings and node type customization. Generation facts and licenses for the test files are from our November 7 Hunyuan3D vs TRELLIS.2 guide. Test image: Treasure Chest by Rico Cilliers, CC0, Poly Haven. Tested in Godot 4.7.2.

Get the free Godot + AI starter pack

Our AI tools kit with a Godot section, plus a 7-step first game path, free art and sound picks with license notes, and a printable checklist. Plus a short email when we test new free tools. No spam, unsubscribe any time.

No spam. Unsubscribe in 1 click. Privacy See past issues

Preview of the First Game Starter Pack: the README, the AI Tools Kit and the first game checklist

Make an AI tool for game developers? See the $49/month featured spot. Ratings never change for payment.