Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MeshCollider.skinWidth

Switch to Manual
public float skinWidth;

Description

Used when set to inflateMesh to determine how much inflation is acceptable.

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.