The pivot point is a crucial setting that determines how a model is positioned and rotated in Game Maker and the VoxEdit Animator.
If the volume size is adjusted in any dimension, the Pivot Point will also need to be adjusted.
Pivot Point Uses
Hinges: Chests, Doors, etc.
To make an animated chest that opens, you need to create a base and a lid that rotates on the back edge.
Set the pivot point for the base at the bottom center. Set the pivot point for the lid at the bottom center of the back edge.
Signs, Screens, Paintings, etc.
If an object is meant to be attached to a wall, align the pivot point to the back edge for easy snapping.
It's also best to align the pivot point to the bottom of the asset so it's easy to adjust the asset to various heights on a wall.
Windows
A building can be built using assets or blocks. The pivot point on a window can make it easy to snap at the edge of a wall or at the center of it, depending on the width of the window and the intended appearance.
Walls
The best location for a pivot point on a wall depends on what you're trying to build with it. If you want walls to be easy to rotate at one end, align the pivot point on an end instead of at the center.
If you want your walls to snap to the back of blocks or other walls easily, move the pivot point to the back edge.
The pivot point of a model is important when it is added to a rig. Consider the best location for the model to be able to rotate or move based on natural movements if the asset is animated or easy manipulation if it is a static compound asset.
In the Animator, a rig is a structure of nodes built into a hierarchy. Parent nodes control how child nodes move. Models are linked to nodes, so if you move a node, a linked model also moves.
You may need to adjust the pivot point on a model if you move its linked node and it doesn't move as expected.
When correcting the position of a model in a compound or animated asset, it's best to move the node the model is linked to. Avoid changing the model's pivot point to correct it unless the pivot point is causing the issue. This will avoid unnatural movement when editing or animating.
Moving the Pivot Point
If you change the pivot point on a model that is used multiple times in a compound or animated asset, every model in the asset will adjust position.
Automatic
Right Click the Pivot button for a menu with two options:
Set to Floor - set the Y coordinate of the Pivot Point to 0 (drop it to the bottom center of the volume)
Set to Center - set the X, Y, and Z coordinates to be the exact center of the volume.
Pivot menu options are only accessible by right clicking the button.
Manual
Click the Pivot tool to reveal the location of the model's pivot point. Left click and drag a colour coded arrow to adjust its location in the X, Y, or Z axes. Hold SHIFT to snap movement to 0.5 voxel increments.
WORKFLOW TIP
You will often need to move the pivot point to the center and bottom of a model. Set to Center first, then Set to Floor for a faster workflow.