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:
- Use the Game object (Gameobject), create an empty object (create empty) menu for creating an empty game object.
- 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.
- 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?