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

Script language

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

ContactPoint2D.otherCollider

public Collider2D otherCollider;

Description

The other Collider2D involved in the collision with the collider.

This collider is attached to the Collision2D.otherRigidbody.

See Also: Collider2D and Rigidbody2D.

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