文档

Unity Engine

Unity Engine

normalImpulse

Gets the impulse applied at the contact point along the ContactPoint2D.normal.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float normalImpulse { get; }

Remarks

The impulse is applied to both the ContactPoint2D.rigidbody and the ContactPoint2D.otherRigidbody at the ContactPoint2D.point along the ContactPoint2D.normal and the inverse ContactPoint2D.normal.