Unity Engine documentationScript ReferenceUnityEngineContactPairPointseparationThe distance between the edges of Colliders at the contact point.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule public float separation { get; }