Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

MeshColliderCookingOptions.EnableMeshCleaning

Description

Toggle cleaning of the mesh.

When set, the cooking will try to eliminate degenerate triangles of the mesh as well as other geometrical artifacts. It results in a mesh that is better suited for use in collision detection and tends to produce more accurate hit points.