ContactPoint2D.normal

public Vector2 normal;

Description

Surface normal at the contact point.

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.


Did you find this page useful? Please give it a rating: