# Object Transform Origin to Geometry Floor

I have about 400 different Plant models. I need the origin to be at the very bottom of the plant so I can plant them at the correct height when I export them to Unity. Is there a faster way to do this than:

1. Snap cursor to Selected
2. Set 3D Cursor Location Z to 0
3. Object transform origin to 3D Cursor
• If you are after a scripting solution, and if each plant model is one mesh, could alter the script here. There are also a number of align addons. May 15 '17 at 7:50

In the 3D Viewport select your objects, open the Sidebar (N)

Go to the Item tab.

In Align Tools > Advanced Align Operations, click on the Advanced button.

On the bottom left of the viewport window the Align operators control will open.

Set the Operator to Pivot mode.

Enable Active too, Self and Min

Then set the Axis you are aligning, in this case it should be $$Z$$

Then your objects origins are at the bottom.

For older versions of Blender the interface looks like this: