Unity3d How does the graphics problem correction rotation model have been imported?

Source: Internet
Author: User
How do I correct the rotation model being imported?

Some of the stereoscopic art resource packs export their patterns so that the Z-axis is up. The three-dimensional world Y-axis assumed by most of Unity's standard scripts is represented. It's much more easy to fit in Unity than to change the script.

Model with Z-axis upward

If possible, it is recommended that you correct the model in a three-dimensional modeling application before importing, so that the Y-axis is upward.

If not, you can add more than one parent transform to fix in Unity:

  1. Use the Game object (Gameobject), create an empty object (create empty) menu for creating an empty game object.
  2. Locate the new Game object. Make sure it's in the center of the grid or whatever you want the object to be around the point of rotation.

  3. Drag the grid to an empty game object.

Now that you've turned the mesh into a child of the empty game object, you're in the right direction. The script is written with only the Y-axis facing up. You can attach it to an empty parent game object.

"alt=" Unity3d how does the graphics problem correction rotation model been imported? -Article 2 Photos | Game open Source-the best game Programming Development technology website! "Src=" http://www.yxkfw.com/wp-content/uploads/2014/11/289.jpg "style=" ">

With an extra void-variable model.

Unity3d How does the graphics problem correction rotation model have been imported?

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.