Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


skinWidth

The character's collision skin width.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float skinWidth { get; set; }

Remarks

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.