normal
Surface normal at the contact point.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 normal { get; }
Remarks
This is the normal vector, that is the vector that is perpendicular to the surface or the incoming Collider2D at the contact point.
Additional Resources: Collider2D