Game dev
Saved & recent

Pivot

Related terms: origin, rotation point, transform, center of mass

The reference point used to place, rotate or scale an object or sprite. A door rotates around its hinge; a character sprite often uses a point near its feet so different animation frames stay grounded.

Changing the pivot can change where the artwork sits relative to the object. Keep pivots consistent across a sprite animation. The pivot is not necessarily the physics center of mass.

Further reading
Godot Engine: Sprite2D
hinge pivot 54° turn center pivot 54° turn
The two door leaves turn through 54°. The mounted leaf turns about its hinge, and the detached leaf turns about its center. Dashed outlines mark their starting positions.

View in the full Game dev collection