文档

Unity Engine

Unity Engine

skinWidth

Used when set to MeshCollider.inflateMesh to determine how much inflation is acceptable.
阅读时间1 分钟最后更新于 1 天前

Definition

警告
Deprecated. MeshCollider.skinWidth is no longer used.
public float skinWidth { get; set; }

Remarks

Larger values will decrease the accuracy of the generated mesh. Smaller values may not allow PhysX to generate a convex mesh. The value must be larger than 0.