How to Import a GLB File into Godot 4
Godot 4 imports GLB and glTF files on its own. Copy the file in, place it in a scene, and set up collisions, materials and animations.
Godot 4 reads glTF natively, and its documentation recommends glTF as the format for 3D scenes. There is no plug-in to install: copy the file into the project and Godot imports it.
1. Copy the file into your project
Drag the .glb file into the FileSystem dock, or copy it into the project folder (for example res://models/). Godot imports it straight away.
For a .gltf file, copy its .bin and texture images into the same folder too. A .glb has everything inside one file, which avoids missing textures.
2. Put it in a scene
Drag the imported file from the FileSystem dock into the 3D viewport, or instance it as a child node. It comes in as a scene with its meshes, materials, skeleton and animations.
3. Adjust the import settings
Select the file in the FileSystem dock and open the Import dock, or double-click it to open the Advanced Import Settings dialog, which has per-mesh options and model and animation previews. Click Reimport after changing anything.
Useful settings:
- Physics: in Advanced Import Settings, select a mesh and enable physics to generate a collision shape for it.
- Animations: set loop modes and preview clips in the Animation tab.
- Materials: extract materials to separate files if you want to edit them in Godot without the next reimport overwriting your changes.
Collisions from the model's names
Godot also reads suffixes in object names set in your 3D tool. For example, a mesh named rock-col gets a collision shape, and one named wall-colonly becomes only a collision shape (it isn't drawn). The full list is in Godot's "Node type customization using name suffixes" documentation.
Check scale and origin
glTF is always in metres, and Godot uses metres too, so sizes carry over. If the model is 100× too big or small, or floats above the floor, the file was exported with the wrong units or origin. Fix both with the scale & pivot fixer, or check for these and other problems in the engine import checker first.
Compressed files and textures
Godot doesn't support every glTF compression extension. If a file fails to import or looks wrong, run it through the import checker to see which extensions it requires, and save an uncompressed copy if needed.
Making it lighter
For mobile or web exports, check the model in the poly count & VRAM checker, lower the triangle count with the polygon reducer and resize textures with the texture resizer.
What about FBX?
Since Godot 4.3, FBX files import too, through the built-in ufbx library. glTF is still the better default for Godot. See GLB vs FBX vs OBJ.
Models from viya3d come as GLB at real-world scale with the origin at the base, and the Godot export can include a box collider node ready for these suffix rules.