Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ContactPoint2D.normal

public var normal: Vector2;

Description

Surface normal at the contact point.

This is the normal vector (ie, the vector perpendicular to the surface) of the incoming Collider2D at the contact point.

See Also: Collider2D class.