unity3d给模型添加MeshCollider报警告解决方法

报警告如下:
mesh has over 2,097,152 triangles in it, and is using the Fast Midphase option. This might cause certain collisions to not be detected correctly due to an issue in the physics engine. If you observe that in your project, a workaround could be to turn off the Fast Midphase option for this particular mesh.
解决方法:
禁用Use Fast Midphase
在这里插入图片描述
备注:解决这个不报警告的问题导致:
1.可能在某些版本的unity中射线检测不到该模型的mesh collider。
2.打包成pc程序包,射线检测该模型无响应。
如果出现以上问题请忽视该模型警告,只要不是程序报错,当做没看见

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值