Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ColliderDistance2D.pointB

public Vector2 pointB;

Description

A point on a Collider2D that is a specific distance away from pointA.

This point lies on the exterior surface of a Collider2D.