10
$\begingroup$

blender 2.81 I accidentally moved an object and can not undo it. How may I move the object to the world origin, and/or set the location of the object at the center of x, y, or z axes.

$\endgroup$

3 Answers 3

17
$\begingroup$

You press Shift+S to set your Cursor to World Origin, then you can select your object and press once again Shift+S. This time select Selection to Cursor, which will snap your selected object to the cursor that is now located at the world origin.

To make new objects aligned to the center x, y and z axis, which is essentially at origin, just set the cursor back to origin. Thus new objects will be created there.

For completeness sake, setting the cursor to origin can also be done with the Shift+c shortcut, which avoids the pie-menu.

$\endgroup$
0
3
$\begingroup$

In the Object menu, Clear / Location (Alt+G)

$\endgroup$
1
  • $\begingroup$ That's essentially the same thing than Moog's answer, just quicker ; so the limitation pointed by batFINGER still applies $\endgroup$
    – thibsert
    Aug 25, 2022 at 12:14
1
$\begingroup$

Just to throw in a different option than using cursors ...

If you have the item panel open in the right hand side, then you can click and drag over the Location fields X,Y,Z and hit 0 then enter.

$\endgroup$
1
  • 2
    $\begingroup$ To clarify the location property of an object is relative to its parent. Above will work for object with no parent, or with parent located at (0, 0, 0). Codewise to set an object to global origin ob.matrix_world.translation = (0, 0, 0) will set the local coordinates accordingly. $\endgroup$
    – batFINGER
    Dec 8, 2019 at 4:03

You must log in to answer this question.

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