Search Unity

Imported Model Prefab scale

Discussion in 'Asset Importing & Exporting' started by Silasi, May 2, 2019.

  1. Silasi

    Silasi

    Joined:
    Jul 25, 2016
    Posts:
    48
    Hello guys,

    I have read that when importing to Unity, the size of the asset is measured in meters and if the model is not compatible to what it represents, it can screw your physics.

    So I tried to import a 1 to 1 scale of a cube from maya (1 meter x 1 meter) and it looks like something is not right. (see uploaded file)

    So at this stage I don't really know what units to use to have proper physics. Should I use the default unity cube as reference or resize everything to meters?
     

    Attached Files:

  2. alexmcgt

    alexmcgt

    Joined:
    Aug 16, 2018
    Posts:
    4
    Exporting a cube with a size of 100 and Maya units set to centimeters or
    a cube with the size of 1 and units set to meters works fine for me.
    (FBX export option Units should be set to Automatic).
    I get the cube exactly the size of the Unity default 1m cube.
     
    Silasi likes this.
  3. Silasi

    Silasi

    Joined:
    Jul 25, 2016
    Posts:
    48
    Yup... I exported the models as obj, exporting as fbx fixes it but the scale in Unity is not 1 to 1, but something like 0.045. Would that be a problem?

    Edit: Freezing transformation the second time gives me 1 to 1 in unity. I don't know why it did not work the first time
     
    Last edited: May 2, 2019