6
$\begingroup$

so I have a seemingly obvious question.

I am needing to export multiple meshes in the same scene one at a time, and as they are, the meshes are placed all over the space. It seems to me that I need to move each one to (0, 0, 0), before I export them (as fbx) or else they import to Unity with the random location transforms. Is there some way that can automatically do this zeroing out process upon exporting? This way I won't have to move them one by one just before export.

This is an example of my scene :

enter image description here

$\endgroup$

2 Answers 2

4
$\begingroup$

Default FBX or OBJ exporters won't allow you skip resetting object location if you want their origin point remain where it is once exported. However there are some addons which make this possible.

One of these addons is Export FBX which is a part of Cenda Tools. After installing the addon open the Properties Editor > Scene tab > Export Settings rollout. There fill in the path where the file will be saved

As per addon page:

Fill the export paths (it is saved with scene), select objects for export and click the Export button. Backup is doing a copy of the exported FBX.

enter image description here

Object can be exported from the 3D viewport as well:

enter image description here

Note that addon assumes file name is included in the export path, by default it is empty name with extension so make sure to change it.

$\endgroup$
5
$\begingroup$

Select all your objects then Alt+G to Clear Location (set the location to 0;0;0)

$\endgroup$
4
  • 2
    $\begingroup$ Thanks for the reply. I want to keep the objects in their current positions within the blender scene but export them into Unity with 0;0;0, without moving them to the center in Blender. Was hoping there'd be some option upon export or something $\endgroup$ Commented May 2, 2018 at 21:16
  • $\begingroup$ I don't think such an option exists. Save the blend, export then reload the save ? $\endgroup$
    – thibsert
    Commented May 2, 2018 at 21:44
  • $\begingroup$ You can Hit Alt+G and Export and get back to the previous locations by 2 Undo actions (Ctrl+Z) $\endgroup$ Commented May 10, 2022 at 9:35
  • $\begingroup$ Blender should really have option to export with origin moved to 0,0,0 without actually changing it in the blender file. hotkeys are not a place for this really. $\endgroup$
    – J-ho
    Commented Sep 27, 2023 at 16:05

You must log in to answer this question.

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