LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

CharacterController.skinWidth

Switch to Manual
public float skinWidth;

Description

The character's collision skin width.

Specifies a skin around the character within which contacts will be generated by the physics engine. Use it to avoid numerical precision issues.

This is dependant on the scale of the world, but should be a small, positive non zero value.