LEARN // meshfx

What is a pivot point

A pivot point is the spot your model moves, rotates and scales around, and in a game engine it is the object's origin. Place it where the object should turn or rest: a door's hinge, the base of a tree, the grip of a sword. A wrong pivot makes doors swing around their middle and props float or sink.

pyrofx effects work today, and new accounts start with $5 of usage.

MODULE // meshfx AVAILABLE

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.

  • Pivot: the object's origin in the engine
  • glTF stores node origins; OBJ stores none
  • Base for props, hinge for doors
  • Fix: set the origin in your 3D editor before export

01 // WHAT IT MEANS

Pivots across file formats

The pivot is the origin of the object's own coordinate system, and the engine places, rotates and scales the model around that point. glTF and USD store node transforms, so the pivot is a node's origin. FBX supports pivots and offsets per node. OBJ and STL store no transforms, so the pivot is the 0, 0, 0 point of the vertex coordinates, wherever the model sat when you exported it.

02 // IN YOUR ENGINE

How a wrong pivot shows up

  • A door rotates around its center instead of its hinge.
  • A prop placed at floor height floats above the floor or sinks into it.
  • The move gizmo appears far from the model, at the origin of the scene it came from.
  • Turning a model to face a target makes it orbit in a circle.

03 // BY HAND TODAY

Move the pivot

  • In your 3D editor, set the object's origin to the base or hinge, apply rotation and scale, and export again.
  • Godot 4: parent the model to a Node3D placed at the pivot you want and offset the child.
  • Unity: do the same with an empty parent GameObject.
  • Unreal Engine: use the pivot tools in Modeling Mode to compile a new pivot into the static mesh.
  • Roblox Studio: use the Edit Pivot tool, or set PivotOffset on a part.

04 // SPATIAL COMPILER

Pivots on precomputed effects

Effects already arrive with a useful pivot: the Godot 4 scene for each precomputed effect is a quad with its origin on the ground, so a fire sits on the floor where you drop it. See fix the pivot point for models.

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.

06 // FAQ

Pivot point questions

All questions →

README.PIVOT_POINT
Should I apply rotation and scale before export?

Yes, set the origin where you want the pivot, then apply rotation and scale so the object exports with zero rotation and unit scale.

How do I change the pivot of a model in Roblox Studio?

Select the model, turn on Edit Pivot in the Model tab and drag the pivot to the hinge or base for scripts to use.

Why does my model turn around the wrong point in Godot?

Its origin sits away from where you want it to turn, so place the model under a Node3D at the turning point and rotate the parent.

Where is the pivot of an OBJ file in three.js?

It sits at the origin of the vertex coordinates because OBJ stores no transform, so center or translate the geometry or offset a parent group.

Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

All effects, guides and explainers →