SetPivot

Author: Yilmaz Kiymaz (VoxelBoy).

Warning Fixed: Max70.

Description
This Editor Script provides a solution to move the pivots of Game Objects within the Unity Editor.

Usage
Place the script in the Editor folder under Assets (Project view of the Editor.) The Set Pivot menu item will appear under the GameObject menu.

Known Limitations
1. You can only move the pivot inside the bounds (aka bounding box) of the mesh. It should take little modification to change this though.

2. Pivot movement doesn’t work well with objects that have been rotated. Remember to move the pivot when the object has zero rotation on all three axes.

Alternatives
PivotManager - simplified version of this script