# 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. – batFINGER 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:

• "404 - Cannot find file" Download link is not working – AzulShiva May 15 '17 at 14:32
• blender.stackexchange.com/a/42110/34004 This script worked. But I'm still interested in your tool, if you know a working link... – AzulShiva May 15 '17 at 14:50
• Changed the link based on that thread:blenderartists.org/forum/… – JuhaW May 15 '17 at 15:38
• how do I get this thing to work now? – AzulShiva May 15 '17 at 16:33
• This is now included in Blender as an add-on. – Jeff Lange Sep 21 '20 at 18:41