7/27/2023 0 Comments Maya fbx export options for unityLet me know if I made any mistakes, and if not, hopefully this is helpful to someone. This is only achieved for cube D, when Maya was set to metres, but export as cm. However, I would prefer that the cube have, in Unity, a scale of 1, a world size of 1 (and, therefore, a mesh with unscaled size of 1). If we assume units in Unity are in meters, then all cubes have the correct size in Unity: A and B are 1 cm and C and D are 1 metre. Unity sets the object transform scale to 1 / UnitScaleFactor.Unity transforms the vertices on import by the File Scale.In Unity, the File Scale = the FBX file UnitScaleFactor / 100. ![]() ![]() Maya intends the final local vertex position to be found by scaling by 1 / UnitScaleFactor The vertex positions in the FBX file are always in cm, even if Maya is set to metres. ![]() When importing into Unity “Use File Scale” was set to true… CubeA CubeB CubeCĜubeD I then examined the FBX file in a text editor, and the resulting mesh in Unity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |