Roblox is the most common destination for part-controllable assets, and also the place where a clean export is most likely to arrive mangled. The import itself is quick; the work is in names, scale and pivots, and all three are cheaper to fix before the first MeshPart exists.
What Roblox actually imports
Roblox Studio's 3D Importer takes third-party .fbx, .gltf and .obj models and converts the imported geometry into MeshParts. That is a good match for a part-controllable export, which is one file or one node per named part: each part becomes its own MeshPart, and the name travels with it. The documentation lists .gltf rather than .glb, so treat direct .glb import as unverified on the page and check the importer dialog in your Studio version; GLB is the binary container of the same glTF document, which is why a converter between the two is routine.
Two consequences follow. First, MeshParts are not editable at the vertex level inside Studio, so any geometry cleanup happens before import. Second, the importer is a converter, not a validator — it will happily import a part whose name contains a space, and the failure will appear later in a script rather than in the import dialog.
A practical folder structure keeps this sane: one Model per asset, one folder for static parts, one for moving parts, and a ModuleScript alongside them that resolves the names once.
Names and the strict lookup
Roblox instance names are matched exactly by string lookup. The recommended pattern is a single lookup table built at startup:
local model = script.Parent
local parts = {
Lid = model:WaitForChild("Lid", 5),
Base = model:WaitForChild("Base", 5),
Lock = model:WaitForChild("Lock", 5),
Handle = model:WaitForChild("Handle", 5),
}
if not parts.Lid then
error("Chest is missing a part named Lid; found: " .. table.concat(model:GetChildren(), ", "))
end
Two details matter more than they look. The 5 timeout turns an infinite wait into a diagnosable failure. The error message prints what was actually found, which is usually enough to spot a case mismatch immediately. Without both, a renamed part produces a spinner or a silently dead feature.
Keep hinges out of the lookup table if it is decorative. A part with no reader is a part you did not need to import separately.
Scale: decide the unit once
Roblox uses studs, and the widely used convention is that one stud is roughly 0.28 metres. Exports from other tools are usually in metres or centimetres, so a robot dog authored at 1.2 m becomes 1.2 studs — a toy — unless the importer scale or the source units are set deliberately.
Do the arithmetic before import, not after:
- Decide the intended size in studs, for example a vehicle 30 studs long.
- Measure the source bounding box in its own units.
- Compute one scale factor and apply it to every part, not per part.
- Verify one known dimension in Studio with the move tool before building anything on top.
Per-part scaling is how assemblies come apart: the lid gets 0.9 and the base gets 1.0, and the seam opens by two centimetres that nobody notices until the animation runs.
Pivots before scripts
A MeshPart's pivot is what PivotTo rotates around. If the pivot sits at the geometric centre of a lid, rotating 90 degrees pushes half the lid through the base. The fix is to move the pivot to the hinge edge before writing any behaviour.
The arithmetic is simple: if the lid is 2 studs wide and hinges on its maximum X edge, the pivot moves +1 stud along local X from the part's centre. That offset is the whole calculation, and the calculator in this guide returns it for any axis and edge, along with a keyframe list.
Then connect a HingeConstraint if you want physical motion: an attachment on the base at the hinge line, an attachment on the lid at the same world position, and matching axes. For scripted motion, PivotTo with a tween is often simpler and predictable, at the cost of not reacting to physics.
Roblox lookup script
Generates a ModuleScript table that resolves each imported part by name with WaitForChild, so a rename fails loudly instead of silently.
Colliders: keep the shapes cheap
Each MeshPart brings a collision shape with it. Detailed collision on twelve named parts is a performance trap; Roblox's collision fidelity setting on a MeshPart should usually be a box or hull for props, with detailed collision reserved for the hero object. For a chest, a box collider on base and a box collider on lid is enough — the lock and handle do not need their own collision volumes unless the player interacts with them.
If you do need a padded collider, keep padding under ten percent. Beyond that, the player visibly hovers away from the surface.
A short acceptance pass
- The model contains exactly the expected number of MeshParts, each named as in the schema.
- The lookup table resolves every part; deliberately rename one part and confirm the error names it.
- One known dimension matches the intended stud size.
- Rotating the moving part around its pivot keeps the seam closed through the full range.
- Collision on static parts is cheap; the player can stand on the asset without jitter.
- The asset opens in a fresh Studio session without a script error.
What this workflow does not give you
Importing named parts is not the same as generating them. The released CubePart code documents decomposition of an existing mesh with part names and weights, and the project's hosted demo was paused when this site checked on 2026-11-13. Roblox will faithfully import a well-named asset; producing that asset is the earlier step, and it is outside Studio.
The good news is that the Roblox side is deterministic. Names either match or they do not; pivots are arithmetic; scale is one multiplication. Getting those three right means every later animation or gameplay bug is about design, not plumbing.
Materials and appearance after import
Geometry and appearance travel separately. A GLB can carry materials and textures, and Roblox's importer will bring across a surface appearance where the format maps cleanly. The practical result is often flatter than the source render, because Roblox's lighting and material response differ from an offline renderer.
Two habits keep this predictable. First, verify appearance on one part before importing the rest, so a mismatch is a five-minute discovery rather than a full reimport. Second, keep the material plan simple per part: one surface appearance per MeshPart, not four, or you reintroduce the draw-call multiplication that the part split was supposed to control.
If the asset is stylised, consider flat colours and a single surface appearance per part. It is faster to tune in Studio, and it survives a reimport better than a texture set whose UVs may change when the source mesh changes.
Testing in a live place, not just the editor
Studio's editor and a running place are not the same environment. Pivots that look correct at rest can reveal sign errors only when the animation plays; collisions that feel fine standing still can jitter when a player walks on the asset; a lookup that resolves in edit mode can fail if the model is cloned before the script runs.
A ten-minute test catches all three. Play the place, walk around the asset, trigger the moving part, and watch the seam at the extremes of its motion. Then clone the asset once in code and confirm the lookup still works on the clone — a common failure because some scripts search from a fixed parent path.
Finally, check one error path deliberately: rename a part in Studio without renaming the lookup, and confirm the script raises a message that names the missing part. Passing that test means the next real failure will be diagnosable, which is worth more than one clean run.