文档

Unity Engine

Unity Engine

skinWidth

The character's collision skin width.
阅读时间1 分钟最后更新于 1 个月前

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.