Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Siliconmana 1 · Oct 25, 2010 at 12:39 AM · rotationmesh3dsmax

3ds max import problems

So l've recently started importing models from 3ds max into Unity and have two problems.

  1. Models are not importing with a mesh collider so not 'solid'. They all have uvunwrap and converted from poly to mesh objects before export.

  2. All models have x 270 rotation. I'm guessing this is related to the xyz coordinate systems being different. Is there a way to compensate for this without changing Max system preferences.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SisterKy · Jul 15, 2011 at 12:17 AM 0
Share

Retagged 3ds, max to 3dsmax. Greetz, $$anonymous$$y.

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by soulzero · Oct 26, 2010 at 03:14 PM

Assuming you are using the 'View' AS the Reference Coordinate System in 3ds Max, Then in the front view port, Rotate the objects' Pivot along the X axis 90 degrees. Try 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 Max have X 90,Y 0,Z 0 in rotation and export with Y as up in FBX, you should be fine." -holmeren Once the mesh is imported into Unity Select it & in the inspector Check "Generate Collider" the box.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by Paulius-Liekis · Oct 26, 2010 at 12:32 PM

I'm not sure what do you mean by first one, but the second one I just fix the orientation of a pivot in 3dsMax - you have to make usre Y axis is going up.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by JakeT · Dec 11, 2010 at 09:18 PM

I found a piece of script to handle this on my batch export from Max. I use the "Batch It Max" script (find it on scriptspot.com) to run this on all of my MAX files to convert them to FBX and auto-rotate them. At one point, it was working...now it's not. The FBX file comes into Unity at 0 X rotation, but it is facing sideways. Any ideas on how to accomplish this pivot rotation in MaxScript? Thanks!

fn SetObjectRotation obj rx ry rz = ( -- Reset the object's transformation matrix so that -- it only includes position and scale information. -- Doing this clears out any previous object rotation. local translateMat = transMatrix obj.transform.pos local scaleMat = scaleMatrix obj.transform.scale obj.transform = scaleMat * translateMat

 -- Perform each axis rotation individually
 rotate obj (angleaxis rx [1,0,0])
 rotate obj (angleaxis ry [0,1,0])
 rotate obj (angleaxis rz [0,0,1])

)

  • noPrompt will use the last settings used for the exporter (good); Standard settings should be OK

    ax select all SetObjectRotation $ 90 0 0 ExportFile (getFileNamePath (maxFilePath) + getFilenameFile (MaxFileName) + ".fbx") #noPrompt;

  • Comment
    Add comment · Share
    10 |3000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users

    Your answer

    Hint: You can notify a user about this post by typing @username

    Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

    Follow this Question

    Answers Answers and Comments

    1 Person is following this question.

    avatar image

    Related Questions

    I have a question about importing 3dmax! 0 Answers

    Generating a cube mesh with two given points 1 Answer

    Low Poly Models and Even Texturing 3 Answers

    Character 3d modeling trouble 0 Answers

    How can I fix a terrain hugging character so that it maintains it's original orientation, but allows rotation? 1 Answer


    Enterprise
    Social Q&A

    Social
    Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

    Footer

    • Purchase
      • Products
      • Subscription
      • Asset Store
      • Unity Gear
      • Resellers
    • Education
      • Students
      • Educators
      • Certification
      • Learn
      • Center of Excellence
    • Download
      • Unity
      • Beta Program
    • Unity Labs
      • Labs
      • Publications
    • Resources
      • Learn platform
      • Community
      • Documentation
      • Unity QA
      • FAQ
      • Services Status
      • Connect
    • About Unity
      • About Us
      • Blog
      • Events
      • Careers
      • Contact
      • Press
      • Partners
      • Affiliates
      • Security
    Copyright © 2020 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell My Personal Information
    • Cookies Settings
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Explore
    • Topics
    • Questions
    • Users
    • Badges