meshfx // GODOT
Why is my imported model the wrong size in Godot
Your model is the wrong size in Godot because its file uses a different unit than Godot's meter, usually centimeters. Fix it at the source by exporting in meters with scale applied, or select the file in the FileSystem dock, set Root Scale in the Import dock and click Reimport. GLB files already use meters.
pyrofx effects work today, and new accounts start with $5 of usage.
meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.
- Godot 4: 1 unit is 1 meter
- Import dock: Root Scale, then Reimport
- A default BoxMesh is 1 m, a handy reference
01 // HOW TO
Set the import scale in Godot 4
- Add a MeshInstance3D with a BoxMesh to the scene as a 1 m reference.
- Drag the model in next to it and compare. 100 times too big means centimeters; 1000 times means millimeters.
- Select the model file in the FileSystem dock and open the Import dock.
- Set Root Scale under Nodes (0.01 for centimeters) and keep Apply Root Scale on, so the factor is applied to the meshes instead of left on the root node.
- Click Reimport. Every scene that uses the model picks up the change.
- For an OBJ imported as a mesh, use Scale Mesh in its import options instead.
meshfx has units and origin settings, can face a named axis and rename nodes. Set the scale using the known dimensions of your source, then inspect the output in Godot 4. Hosted meshfx runs are available in the Playground.
02 // WHY
Where Godot gets a model's size
Godot reads glTF and GLB in meters, as the format defines, and converts an FBX from the unit stored in the file. A .blend file is converted through glTF, so its scene unit carries over. An OBJ has no unit, so Godot takes each number as a meter. If a GLB is still wrong, the file holds the wrong numbers; see GLB scale.
Scaling the node in the scene also works, but every instance then carries a scale other than 1, and Godot's physics bodies and collision shapes behave badly when scaled. Fixing the size on import keeps node scales at 1.
How do I change the scale of an imported model in Godot?
Select the file in the FileSystem dock, set Root Scale in the Import dock and click Reimport. The change applies to the imported scene.
Why is my collision shape the wrong size after scaling a model in Godot?
Scaling a physics body's node scales its shapes in ways Godot handles poorly. Fix the size with Root Scale on import so node scale stays one.
Which format gives the right size in Godot?
GLB, because glTF is always in meters, which is Godot's unit. FBX works too when the file's unit is right.
How big should a model be when I add it to a Godot scene?
Real size in meters, such as a door about 2 m tall or a character about 1.8 m. Godot's physics and camera defaults assume meters.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.