BoxColliders does not support negative scale or size.

时间:2021-01-29 23:27:09   收藏:0   阅读:286

UNITY NGUI报错信息如下:

BoxColliders does not support negative scale or size.
The effective box size has been forced positive and is likely to give unexpected collision geometry.
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "UI Root/PopUIRoot/charge/Offset/TabContent/Charge-TianBaoLuoPan(Clone)/offset/luopan/Offset/Buttons/TenResult03(ren)"

 

原因是:BoxColliders 的size是负坐标,如下图,解决办法:改成正数即可

技术分享图片

原文:https://www.cnblogs.com/workharder/p/14346670.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!