normal
Surface normal at the contact point.
Read time 1 minuteLast updated 4 days ago
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