Documentation

Unity Engine

Download Unity

Unity Engine

normal

Surface normal at the contact point.
Read time 1 minuteLast updated 6 hours ago

Definition

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 class.