我将如何保持对象外观的旋转但使旋转 0 Unity [英] How would I keep the rotation of the look of the object but make the rotation 0 Unity
本文介绍了我将如何保持对象外观的旋转但使旋转 0 Unity的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能让 Wheel 看起来相同但旋转 0.
How would I be able to have Wheel look the same but make the rotation 0.
推荐答案
如前所述,您可以在 3D 建模软件中旋转网格.
As already commented you can rotate the mesh in 3D modeling software.
一种更快的方法是将代表轮子的游戏对象作为另一个游戏对象的父对象,然后该游戏对象将充当枢轴.只需将其定位在轮子游戏对象的确切位置,但具有所需的旋转.
A faster way would be to parent the GameObject that represents the wheel under another GameObject, which will be acting as a pivot then. Just position it at the exact position of the wheel GameObject, but with a the desired rotation.
这篇关于我将如何保持对象外观的旋转但使旋转 0 Unity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文