8
$\begingroup$

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
$\endgroup$
1
  • $\begingroup$ 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. $\endgroup$
    – batFINGER
    May 15, 2017 at 7:50

1 Answer 1

12
$\begingroup$

Enable the align tools Add-On.

enter image description here 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$

enter image description here

Then your objects origins are at the bottom.

For older versions of Blender the interface looks like this:

enter image description here

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .