Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ContactPoint2D.collider

public Collider2D collider;

Description

The incoming Collider2D involved in the collision with the otherCollider.

This collider is attached to the Collision2D.rigidbody.

Additional resources: Collider2D and Rigidbody2D.