meshfx // OBJ PIVOT
How to set the pivot point of an OBJ file
You set an OBJ's pivot by moving the model so the point you want sits at 0, 0, 0 before you export, because OBJ has no transforms. Every vertex is stored as an absolute position, so the file's origin is the pivot in every engine. Ground or center the model on the world origin before export.
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.
- OBJ has no transforms and no pivot field
- The file origin (0, 0, 0) is the pivot
- STL works the same way
01 // WHY
Why an OBJ pivot is always the file origin
An OBJ is a list of positions and faces. On export, each object's position, rotation and scale is multiplied into its vertices, so a crate sitting 10 m from the world origin exports with vertices near x = 10 and a pivot 10 m away from it.
Several objects in one OBJ share that one origin, so a set of parts imports with every pivot in the same spot. STL files behave the same way.
02 // HOW TO
Put the pivot on the file origin
- In your 3D editor, set the model's origin to the pivot point you want.
- Move the object so its origin is exactly at the world origin (0, 0, 0).
- If the file holds several parts that each need a pivot, export each part as its own OBJ, or switch to GLB or FBX, which keep one origin per object.
- Export the OBJ.
- Import it into your engine and rotate it once to check.
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.
Where is the pivot of an OBJ loaded in three.js?
At the file origin. OBJLoader returns a group whose meshes keep the file absolute positions, so offset the mesh inside a THREE.Group to turn around another point.
How do I fix an OBJ pivot in Roblox Studio?
Use Edit Pivot on the Model tab to move the pivot after import or export the OBJ again with the model centered on the origin.
Is OBJ a good format when the pivot matters?
It works for one static object centered on the origin. For several objects with their own pivots, GLB keeps one origin per node.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.