- Home /
3ds max editing
Hi there,
I'm using several buildings in my current scene, which were created as a .max asset.
However, when i edit this max file, some instances of the asset seem to have there rotation and/or scale transform values altered (in increments of 100 (scale) or 90 degrees (rotation). Any pointers as to what might lead to this behaviour?
Also, is there a way to align assets (buildings) to the terrain height? I've only found an align to view function.
cheers B
Answer by soulzero · Oct 05, 2010 at 09:18 PM
In 3ds max, select your object. Then goto the Hierarchy Panel (the tab just before the wheel on the side rollout) under the "Adjust Pivot", Select "Affect Pivot Only". Now use the rotate gizmo to move the Y axis (the red arrow in 3ds Max) facing upward. For More precise control use the "Absolute/Offset Mode Transform Type-In" found on the bottom status bar. Once the Pivot is correct for Unity (Y Axis for the pivot facing upward) be sure to turn off the "Affect pivot Only" button.
It doesn't seem to work always in my experience, maybe there is a problem of fbx exporter version...
The answer above assumed that the user was using the .max File to import to Unity. For the fbx its should be mostly the same. Assu$$anonymous$$g you are using the 'View' Reference Coordinate System in 3ds $$anonymous$$ax, In 3ds $$anonymous$$ax in the front view port Rotate the objects Pivot along the X axis 90 degrees. Then using the latest Fbx plug-in, export the mesh with the Up-axis set to Y-up in the Exporter Dialog settings. "So just as long as you in $$anonymous$$ax have X 90,Y 0,Z 0 in rotation and export with Y as up in FBX, you should be fine." -holmeren
Answer by 3Dgal · Jul 01, 2010 at 04:42 PM
From my experience, in 3ds Max Z axis is up, and in Unity, Y axis is up. And I don't bring in the max file to Unity. So what I do is to export each building as a separate object (each building in its own max file, thereby eliminating different axis problem), and export as .fbx and there's a checkbox where you have to select "convert to Y axis" (something like that). Then import the .fbx object into Unity.
I'd love to know if there's a better solution.
I'd like to know a better solution too! I have to do the same as well...
Answer by Cap · Jun 03, 2010 at 12:00 PM
If your .max file contains multiple objects, each with a different angle for their axes, then Unity will give them all a uniform set of axes to follow. For example, if you rotated a building but rotated its world axis within 3DS as well as the building itself, this would be altered by Unity. Make sure you leave the axis tool alone in the 3D app and only use the object rotate tool.