Analysis of importing objects from Maya in Unity3d technology

Source: Internet
Author: User

Welcome to Unity Learning ,Unity Training ,Unity Enterprise Training and education, where there are many u3d resources , u3d Training Videos ,u3d Tutorials ,u3d FAQs ,u3d project source code , we are committed to building the industry Unity3d Training, learning the first brand.

Importing objects from Maya

Unity can import Maya files directly. To begin, simply place the. MB or. ma file under the project's resources (Assets) folder. When you switch back to Unity, the scene is automatically imported and displayed in the Project view.

To view the model in Unity, simply drag it from the Drawing View (Project view) into the scene view or the hierarchy view (Hierarchy view).

Unity is now imported from Maya:
    1. All nodes with position, rotation, and scale. The axis and name are also imported.

    2. A grid that contains vertex colors, normals, and two of the following UV sets.

    3. A material that contains textures and diffuse colors. Each mesh has a variety of materials.

    4. Forward kinematics (FK) and inverse kinematics (IK) animations.

    5. Skeletal-based animations

Unity cannot import fused shapes. Instead, use bone-based animations. When importing, Unity automatically transforms the polygon mesh into a triangular mesh, so no manual action is required in Maya.

If you use inverse kinematics (IK) to animate a character, you must select the imported. mb file in the project view, and in the Import Settings dialog box in the Viewer (Inspector), select the Bake IK and simulation (Bak E IK & Simulation).

Requirements

To import Maya. MB and. Ma files, install Maya on the machine using Unity to import the. mb/.ma file. Supports Maya 8.0 and later versions.

If Maya is not installed on the machine, but you want to import Maya files from another machine and export to FBX format, Unity can import the format directly. Please install->2011.3 for best results. See HOWTO_EXPORTFBX for export-related content. After exporting, place the FBX files under Unity's project folder. Unity will automatically import FBX files. Check the FBX import settings in the viewer as described in HOWTO_EXPORTFBX.

Behind the import process (advanced)

When Unity imports Maya files, Maya is started in the background. After that, unity communicates with Maya, and the. mb file is converted to unity-readable format. The first time you import a Maya file in Unity, Maya starts with a command-line process that takes approximately 20 seconds, but subsequent imports can be very fast.

Troubleshooting

Convert

    • Keep the scene simple and try to handle only the files that contain the objects you need in Unity.

    • If there is an error in the grid, confirm that all patches, nurbs surfaces, etc. have been converted to polygons (modify (Modify) > convert (convert) + mesh > split into triangles/quads (quadragulate/triangulate)). Unity supports only polygon objects.

    • In rare cases, Maya is confusing the node history, sometimes causing the model to not export correctly. Fortunately the fix is very simple, select Edit, delete by type (delete by type), non-warp history (Non-deformer).

    • Unity will usually ensure that the latest FBX plugin is supported, and if there are any issues related to importing the model, you can revert to FBX 2012 or view the latest FBX export tool on the Autodesk website.

    • Animation baking in Maya can now be replaced with the bake option that comes with FBX, allowing for proper baking of more complex animations and outputting them to the FBX format. If you are using drive keyframe technology, make sure that you set at least one frame on the drive so that the animation is properly baked.


For more highlights, please click http://www.gopedu.com/


Analysis of importing objects from Maya in Unity3d technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.