文档

Unity Engine

Unity Engine

separation

The separation of the contact point, negative if penetrating. During a pre-contact callback this may be modified, and the solver uses the new value this step.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float separation { readonly get; set; }