6

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

Amir
  • 3,074
  • 2
  • 29
  • 55
Bronson Bradley
  • 167
  • 1
  • 13

2 Answers2

5

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

thibsert
  • 6,092
  • 1
  • 11
  • 17
  • 2
    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 – Bronson Bradley May 02 '18 at 21:16
  • I don't think such an option exists. Save the blend, export then reload the save ? – thibsert May 02 '18 at 21:44
  • You can Hit Alt+G and Export and get back to the previous locations by 2 Undo actions (Ctrl+Z) – Mohammad Zamanian May 10 '22 at 09:35
  • 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. – J-ho Sep 27 '23 at 16:05
4

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.

R El Clein
  • 1,646
  • 7
  • 5